bpo-28681: Clarify multiple function names in the tutorial (GH-21340)… · python/cpython@00c09f0 (original) (raw)

Original file line number Diff line number Diff line change
@@ -297,11 +297,10 @@ passed using *call by value* (where the *value* is always an object *reference*,
297 297 not the value of the object). [#]_ When a function calls another function, a new
298 298 local symbol table is created for that call.
299 299
300 -A function definition introduces the function name in the current symbol table.
301 -The value of the function name has a type that is recognized by the interpreter
302 -as a user-defined function. This value can be assigned to another name which
303 -can then also be used as a function. This serves as a general renaming
304 -mechanism::
300 +A function definition associates the function name with the function object in
301 +the current symbol table. The interpreter recognizes the object pointed to by
302 +that name as a user-defined function. Other names can also point to that same
303 +function object and can also be used to access the function::
305 304
306 305 >>> fib
307 306 <function fib at 10042ed0>