Terry J. Reedy <tjre...@udel.edu> added the comment:
The sentence you quoted ends a paragraph that begins with a sentences saying the same thing even more clearly. "The execution of a function introduces a new symbol table used for the local variables of the function." I think the ending sentence could be deleted as redundant. Or it could be merged into the initial sentence with "When a function is called, the execution of that function ... ." What do you think? The me, the confusion of 'other function' is that it leaves open the possibility of 'same function' having a different result, as in languages with tail recursion conversion. But this is not true of python, which cares nothing about the caller. ---------- nosy: +terry.reedy stage: -> needs patch title: tutorial ambiguous about creation of local symbol table for recursive calls -> Delete or merge redundant tutorial sentence. versions: +Python 3.10 -Python 3.9 _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue43042> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com