File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -389,11 +389,11 @@ \section{Function definitions\label{function}}
389389allows the execution of multiple statements.
390390\indexii {lambda}{form}
391391
392- \strong {Programmer's note:} a `` \code {def} '' form executed inside a
393- function definition defines a local function that can be returned or
394- passed around. The semantics of name resolution in the nested
395- function will change in Python 2.2. See the appendix for a
396- description of the new semantics .
392+ \strong {Programmer's note:} Functions are first-class objects. A
393+ `` \code {def} '' form executed inside a function definition defines a
394+ local function that can be returned or passed around. Free variables
395+ used in the nested function can access the local variables of the
396+ function containing the def. See section \ref { naming } for details .
397397
398398
399399\section {Class definitions\label {class } }
You can’t perform that action at this time.
0 commit comments