Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
7a1cca16
Commit
7a1cca16
authored
Jun 29, 2000
by
Fred Drake
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make it clear that id() can return either a long integer or a plain integer.
parent
cba25566
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
Doc/lib/libfuncs.tex
Doc/lib/libfuncs.tex
+5
-5
No files found.
Doc/lib/libfuncs.tex
View file @
7a1cca16
...
...
@@ -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 it
s
lifetime. (Two objects whose lifetimes are disjunct may have th
e
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 thi
s
object during its lifetime. Two objects whose lifetimes ar
e
disjunct may have the same
\function
{
id()
}
value. (Implementation
note: this is the
address of the object.)
\end{funcdesc}
\begin{funcdesc}
{
input
}{
\optional
{
prompt
}}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment