functions without parentheses
Steven D'Aprano
steve at REMOVETHIScyber.com.au
Fri Jul 29 06:54:42 EDT 2005
On Fri, 29 Jul 2005 06:37:52 +0000, Bengt Richter wrote:
> I suggested in a previous thread that one could support such a syntax by
> supporting an invisible binary operator between two expressions, so that
> examine "string" translates to examine.__invisbinop__("string") if
> examine as an expression evaluates to an object that has a __invisbinop__ method.
Why would you want to?
--
Steven.
More information about the Python-list
mailing list