Hi, I saw in some products a __of__ operator and looked at the python.org for a documentation. I didn't found one. Can anybody tell me what the __of__ does ? Or tell me a URL for the documentation of the __of__ operator ? Thanks, Dirk
Dirk Datzert wrote:
Hi,
I saw in some products a __of__ operator and looked at the python.org for a documentation.
I didn't found one.
Can anybody tell me what the __of__ does ?
It creates an acquisition wrapper for the object the method belongs to, in the context of the object you pass as the argument. It is part of the Extension Class package.
Or tell me a URL for the documentation of the __of__ operator ?
http://cvs.zope.org/~checkout~/Zope/lib/Components/ExtensionClass/doc/Acquis... http://cvs.zope.org/~checkout~/Zope/lib/Components/ExtensionClass/doc/Extens... -- Steve Alexander
Or tell me a URL for the documentation of the __of__ operator ?
http://www.zope.org/Documentation/ZDG/Acquisition.stx HTH, - C
participants (3)
-
Chris McDonough -
Dirk Datzert -
Steve Alexander