[Checkins] SVN: zope.schema/trunk/src/zope/schema/interfaces.py fix IVocabularyFactory.__call__ signature

Adam Groszer agroszer at gmail.com
Fri Nov 4 07:43:09 UTC 2011


Log message for revision 123283:
  fix IVocabularyFactory.__call__ signature

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

-=-
Modified: zope.schema/trunk/src/zope/schema/interfaces.py
===================================================================
--- zope.schema/trunk/src/zope/schema/interfaces.py	2011-11-03 08:52:32 UTC (rev 123282)
+++ zope.schema/trunk/src/zope/schema/interfaces.py	2011-11-04 07:43:07 UTC (rev 123283)
@@ -490,7 +490,7 @@
     """An object is going to be assigned to an attribute on another object.
 
     Subscribers to this event can change the object on this event to change
-    what object is going to be assigned. This is useful, e.g. for wrapping 
+    what object is going to be assigned. This is useful, e.g. for wrapping
     or replacing objects before they get assigned to conform to application
     policy.
 
@@ -668,6 +668,6 @@
 class IVocabularyFactory(Interface):
     """Can create vocabularies."""
 
-    def __call__(self, context):
+    def __call__(context):
         """The context provides a location that the vocabulary can make use
         of."""



More information about the checkins mailing list