[Zope-Checkins] CVS: Zope/lib/python/Interface - iclass.py:1.11.76.1
Shane Hathaway
shane@cvs.zope.org
Thu, 28 Feb 2002 10:39:44 -0500
Update of /cvs-repository/Zope/lib/python/Interface
In directory cvs.zope.org:/tmp/cvs-serv31552/lib/python/Interface
Modified Files:
Tag: Zope-2_5-branch
iclass.py
Log Message:
Fixed compatibility of Interface package with newer Pythons
=== Zope/lib/python/Interface/iclass.py 1.11 => 1.11.76.1 ===
del attrs['__doc__']
+ if attrs.has_key('__module__'):
+ self.__module__ = attrs['__module__']
+ del attrs['__module__']
+
if __doc__ is not None:
self.__doc__=__doc__
else: