mirror of
https://github.com/python/cpython.git
synced 2025-11-02 03:01:58 +00:00
bpo-43042: Augment tutorial sentence (GH-24514)
Calling same function also gets new local namespace.
This commit is contained in:
parent
b4af629f4d
commit
b30fcba3a8
1 changed files with 2 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue