Rob Williscroft wrote:
Arnaud Delobelle wrote:
That's not an issue. The last statement that is executed will be the
"def" statement.

You don't know that, an implementation may for example set __bultins__ to None, prior to returning, its not an unreasonable thing to do and
the docs don't say they can't.

Yet another excellent reason to have unit tests!

~Ethan~
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to