Is this possible in Python?
fredrik at pythonware.com
Tue Mar 14 11:49:38 CET 2006
> You might like the version here:
which only works if 1) you're using a Python implementation that supports
those attributes, 2) the source code is available, 3) the expression is written
on a single line, and 4) you don't use confusing comments after the function
call (and probably some more things I cannot think of right now).
perfectly valid Python constructs like
out(temp) # XXX: should use gettemp() instead
breaks the function.
> Especially the "need to know" presentation, which is cute
More information about the Python-list