From: Fred Drake <fdrake@acm.org>
Date: Thu, 29 Jun 2000 03:46:46 +0000 (+0000)
Subject: Make it clear that id() can return either a long integer or a plain integer.
X-Git-Tag: v2.0b1~1317
X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8aa3bd90983c8d7e227fede4bcb202801ad77e2e;p=python

Make it clear that id() can return either a long integer or a plain integer.
---

diff --git a/Doc/lib/libfuncs.tex b/Doc/lib/libfuncs.tex
index 7fdb599be6..3e6e3cbc48 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}}