Finding the name of a function while defining it

Steven D'Aprano steve+comp.lang.python at pearwood.info
Thu Dec 27 08:34:06 EST 2012


On Thu, 27 Dec 2012 07:32:16 -0600, Tim Chase wrote:

> Depending on where in the code you are, the same function object also
> has a local name of "fn".  It's madness until you understand it, and
> then it's beauty :)

"This is madness!"

"No, this is PYTHON!!!"



-- 
Steven



More information about the Python-list mailing list