summaryrefslogtreecommitdiffstats
path: root/Doc/lib
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2000-06-29 03:46:46 (GMT)
committerFred Drake <fdrake@acm.org>2000-06-29 03:46:46 (GMT)
commit8aa3bd90983c8d7e227fede4bcb202801ad77e2e (patch)
tree2eabba2b1faab97337ba6649e9b92cc1bb34c021 /Doc/lib
parent0f353ed90dce080100a981e7f0094a13e45d9376 (diff)
downloadcpython-8aa3bd90983c8d7e227fede4bcb202801ad77e2e.zip
cpython-8aa3bd90983c8d7e227fede4bcb202801ad77e2e.tar.gz
cpython-8aa3bd90983c8d7e227fede4bcb202801ad77e2e.tar.bz2
Make it clear that id() can return either a long integer or a plain integer.
Diffstat (limited to 'Doc/lib')
-rw-r--r--Doc/lib/libfuncs.tex10
1 files changed, 5 insertions, 5 deletions
diff --git a/Doc/lib/libfuncs.tex b/Doc/lib/libfuncs.tex
index 7fdb599..3e6e3cb 100644
--- a/Doc/lib/libfuncs.tex
+++ b/Doc/lib/libfuncs.tex
@@ -302,11 +302,11 @@ module from which it is called).
\end{funcdesc}
\begin{funcdesc}{id}{object}
- Return the `identity' of an object. This is an integer which is
- guaranteed to be unique and constant for this object during its
- lifetime. (Two objects whose lifetimes are disjunct may have the
- same \function{id()} value.) (Implementation note: this is the
- address of the object.)
+ Return the `identity' of an object. This is an integer (or long
+ integer) which is guaranteed to be unique and constant for this
+ object during its lifetime. Two objects whose lifetimes are
+ disjunct may have the same \function{id()} value. (Implementation
+ note: this is the address of the object.)
\end{funcdesc}
\begin{funcdesc}{input}{\optional{prompt}}