3.3.4 Emulating callable objects
__call__( |
self[, args...]) |
-
Called when the instance is ``called'' as a function; if this method
is defined,
x(arg1, arg2, ...)
is a shorthand for
x.__call__(arg1, arg2, ...)
.
Release 2.4.1, documentation updated on 30 March 2005.
See About this document... for information on suggesting changes.