summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2003-09-06 03:33:32 (GMT)
committerFred Drake <fdrake@acm.org>2003-09-06 03:33:32 (GMT)
commitc0678ffc60515af3f11660d0eaf144e33c651d98 (patch)
tree8b138987a847113ba8a04a5d92d22a463d4a9e9b
parentf3552130e225dbdc4073ace1c05f45a41f94d484 (diff)
downloadcpython-c0678ffc60515af3f11660d0eaf144e33c651d98.zip
cpython-c0678ffc60515af3f11660d0eaf144e33c651d98.tar.gz
cpython-c0678ffc60515af3f11660d0eaf144e33c651d98.tar.bz2
- create a hyperlink for a section reference (also more robust in the
face of section re-ordering) - fix minor markup nits for better presentation
-rw-r--r--Doc/ref/ref5.tex8
1 files changed, 4 insertions, 4 deletions
diff --git a/Doc/ref/ref5.tex b/Doc/ref/ref5.tex
index df7ac70..212dbed 100644
--- a/Doc/ref/ref5.tex
+++ b/Doc/ref/ref5.tex
@@ -63,18 +63,18 @@ categorized syntactically as atoms. The syntax for atoms is:
\index{name}
\index{identifier}
-An identifier occurring as an atom is a name. See Section 4.1 for
-documentation of naming and binding.
+An identifier occurring as an atom is a name. See
+section~\ref{naming} for documentation of naming and binding.
When the name is bound to an object, evaluation of the atom yields
that object. When a name is not bound, an attempt to evaluate it
raises a \exception{NameError} exception.
\exindex{NameError}
-\strong{Private name mangling:}%
+\strong{Private name mangling:}
\indexii{name}{mangling}%
\indexii{private}{names}%
-when an identifier that textually occurs in a class definition begins
+When an identifier that textually occurs in a class definition begins
with two or more underscore characters and does not end in two or more
underscores, it is considered a \dfn{private name} of that class.
Private names are transformed to a longer form before code is