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
b6e92c40
Commit
b6e92c40
authored
Mar 27, 2006
by
Georg Brandl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Document change made to number of preallocated integers.
parent
02e19975
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
Doc/api/concrete.tex
Doc/api/concrete.tex
+1
-1
No files found.
Doc/api/concrete.tex
View file @
b6e92c40
...
...
@@ -156,7 +156,7 @@ There is no \cfunction{PyNone_Check()} function for the same reason.
Create a new integer object with a value of
\var
{
ival
}
.
The current implementation keeps an array of integer objects for all
integers between
\code
{
-
1
}
and
\code
{
100
}
, when you create an int in
integers between
\code
{
-
5
}
and
\code
{
256
}
, when you create an int in
that range you actually just get back a reference to the existing
object. So it should be possible to change the value of
\code
{
1
}
. I
suspect the behaviour of Python in this case is undefined. :-)
...
...
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