Skip to content

Commit

Permalink
bpo-43042: Augment tutorial sentence (GH-24514)
Browse files Browse the repository at this point in the history
Calling same function also gets new local namespace.
  • Loading branch information
terryjreedy committed Feb 20, 2021
1 parent b4af629 commit b30fcba
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Doc/tutorial/controlflow.rst
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,8 @@ referenced.
The actual parameters (arguments) to a function call are introduced in the local
symbol table of the called function when it is called; thus, arguments are
passed using *call by value* (where the *value* is always an object *reference*,
not the value of the object). [#]_ When a function calls another function, a new
not the value of the object). [#]_ When a function calls another function,
or calls itself recursively, a new
local symbol table is created for that call.

A function definition associates the function name with the function object in
Expand Down

0 comments on commit b30fcba

Please sign in to comment.