def __repr__(self):
        """
        Get a string containing the type of the module proxy and a
        representation of the wrapped module object.
        """
        state = _InternalState(self)
        return '<%s module=%r>' % (type(self).__name__, state._module)

        Get a string containing the type of the module proxy and a
        representation of the wrapped module object.
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/python/deprecate.py