[issue26842] Python Tutorial 4.7.1: Need to explain default parameter lifetime
Raymond Hettinger
report at bugs.python.org
Tue Apr 26 03:37:22 EDT 2016
Raymond Hettinger added the comment:
Sorry but I'm going to reject this one. I tried out the text on a Python class that I'm currently teaching and the learners found the text to be clear enough (though some were jarred by the choice of *L* as the variable name) and they all got the essential points (the default variable is evaluated once and what they should do if you don't want the default value to be shared between subsequent calls).
----------
resolution: -> wont fix
status: open -> closed
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue26842>
_______________________________________
More information about the Python-bugs-list
mailing list