[Checkins] SVN: zope.introspector/trunk/src/zope/introspector/interfaces.py added isModule and isClass to IObjectInfo

Martin Lundwall martin at webworks.se
Mon Jul 21 12:09:37 EDT 2008


Log message for revision 88653:
  added isModule and isClass to IObjectInfo

Changed:
  U   zope.introspector/trunk/src/zope/introspector/interfaces.py

-=-
Modified: zope.introspector/trunk/src/zope/introspector/interfaces.py
===================================================================
--- zope.introspector/trunk/src/zope/introspector/interfaces.py	2008-07-21 15:58:42 UTC (rev 88652)
+++ zope.introspector/trunk/src/zope/introspector/interfaces.py	2008-07-21 16:09:37 UTC (rev 88653)
@@ -40,7 +40,15 @@
     def getType():
         """Get the type of the object handled here.
         """
+        
+    def isModule():
+        """Returnes wether or not this is a Module. 
+        """
 
+    def isClass():
+        """Returnes wether or not this is a Class.
+        """    
+
 class IModuleInfo(interface.Interface):
     """Information about modules.
     """



More information about the Checkins mailing list