First script, please comment and advise

Scott David Daniels scott.daniels at
Fri Mar 10 01:21:13 CET 2006

bearophileHUGS at wrote:
>> nested and hided inside a class.
> Hidden, sorry :-)
>> Can a "sub-function" be called directly from outside the defining function?
No, and each call to scramble_text defines a new function "scramble".
Further, there is no way to unit test "scramble".

--Scott David Daniels
scott.daniels at

More information about the Python-list mailing list