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

Skip to content

Commit 53ed917

Browse files
committed
Update / simplify Identifiers section for nested scopes.
How do I create a cross reference to section 4.1?
1 parent e7d5773 commit 53ed917

1 file changed

Lines changed: 2 additions & 18 deletions

File tree

Doc/ref/ref5.tex

Lines changed: 2 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -63,24 +63,8 @@ \subsection{Identifiers (Names)\label{atom-identifiers}}
6363
\index{name}
6464
\index{identifier}
6565

66-
An identifier occurring as an atom is a reference to a local, global
67-
or built-in name binding. If a name is assigned to anywhere in a code
68-
block (even in unreachable code), and is not mentioned in a
69-
\keyword{global} statement in that code block, then it refers to a local
70-
name throughout that code block. When it is not assigned to anywhere
71-
in the block, or when it is assigned to but also explicitly listed in
72-
a \keyword{global} statement, it refers to a global name if one exists,
73-
else to a built-in name (and this binding may dynamically
74-
change).\footnote{The Python interpreter provides a useful set of
75-
predefined built-in functions. It is not recommended to reuse
76-
(hide) these names with self defined objects. See the
77-
\citetitle[../lib/built-in-funcs.html]{Python Library Reference} for
78-
the descriptions of built-in functions and methods.}
79-
\indexii{name}{binding}
80-
\index{code block}
81-
\stindex{global}
82-
\indexii{built-in}{name}
83-
\indexii{global}{name}
66+
An identifier occurring as an atom is a name. See Section 4.1 for
67+
documentation of naming and binding.
8468

8569
When the name is bound to an object, evaluation of the atom yields
8670
that object. When a name is not bound, an attempt to evaluate it

0 commit comments

Comments
 (0)