Commit 5165db7d authored by Shane Hathaway's avatar Shane Hathaway

Same as 2_5 branch

parent df5d1a82
...@@ -44,6 +44,10 @@ class Interface(InterfaceBase): ...@@ -44,6 +44,10 @@ class Interface(InterfaceBase):
if __doc__ is None: __doc__=attrs['__doc__'] if __doc__ is None: __doc__=attrs['__doc__']
del attrs['__doc__'] del attrs['__doc__']
if attrs.has_key('__module__'):
self.__module__ = attrs['__module__']
del attrs['__module__']
if __doc__ is not None: if __doc__ is not None:
self.__doc__=__doc__ self.__doc__=__doc__
else: else:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment