[issue43042] Delete or merge redundant tutorial sentence.

Terry J. Reedy report at bugs.python.org
Fri Jan 29 15:37:23 EST 2021


Terry J. Reedy <tjreedy at 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 <report at bugs.python.org>
<https://bugs.python.org/issue43042>
_______________________________________


More information about the Python-bugs-list mailing list