Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit b30fcba

Browse files
authored
bpo-43042: Augment tutorial sentence (GH-24514)
Calling same function also gets new local namespace.
1 parent b4af629 commit b30fcba

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

Doc/tutorial/controlflow.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,8 @@ referenced.
297297
The actual parameters (arguments) to a function call are introduced in the local
298298
symbol table of the called function when it is called; thus, arguments are
299299
passed using *call by value* (where the *value* is always an object *reference*,
300-
not the value of the object). [#]_ When a function calls another function, a new
300+
not the value of the object). [#]_ When a function calls another function,
301+
or calls itself recursively, a new
301302
local symbol table is created for that call.
302303

303304
A function definition associates the function name with the function object in

0 commit comments

Comments
 (0)