[Checkins] SVN: zope.copy/trunk/src/zope/copy/interfaces.py Make the ICopyHook call's first argument meaning more clear.

Dan Korostelev nadako at gmail.com
Sun Feb 8 17:26:00 EST 2009


Log message for revision 96279:
  Make the ICopyHook call's first argument meaning more clear.

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

-=-
Modified: zope.copy/trunk/src/zope/copy/interfaces.py
===================================================================
--- zope.copy/trunk/src/zope/copy/interfaces.py	2009-02-08 22:21:00 UTC (rev 96278)
+++ zope.copy/trunk/src/zope/copy/interfaces.py	2009-02-08 22:26:00 UTC (rev 96279)
@@ -28,7 +28,7 @@
 class ICopyHook(zope.interface.Interface):
     """An adapter to an object that is being copied"""
     
-    def __call__(obj, register):
+    def __call__(toplevel, register):
         """Given the top-level object that is being copied, return the
         version of the adapted object that should be used in the new copy.
 



More information about the Checkins mailing list