def _nicebyteslist(list):
        """
        Represent a list of mostly textful bytes objects in a way suitable for
        presentation to an end user.

        @param list: The list of bytes to represent.
        @rtype: L{str}
        """
        return '[%s]' % (
            ', '.join([_nicebytes(b) for b in list]),)

        Represent a list of mostly textful bytes objects in a way suitable for
        presentation to an end user.

        @param list: The list of bytes to represent.
        @rtype: L{str}
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/names/dns.py