diff options
author | sgal <32255369+sgalal@users.noreply.github.com> | 2019-07-16 15:15:17 (GMT) |
---|---|---|
committer | Raymond Hettinger <rhettinger@users.noreply.github.com> | 2019-07-16 15:15:17 (GMT) |
commit | 1d8b04edfdc3030e645730492bfcc27b75718b96 (patch) | |
tree | 7d6349b7bf0a759ce743de8b33e06c262875700e /Doc/c-api/long.rst | |
parent | a0f7119f1584db5b32deffb60a68d830673ebbdf (diff) | |
download | cpython-1d8b04edfdc3030e645730492bfcc27b75718b96.zip cpython-1d8b04edfdc3030e645730492bfcc27b75718b96.tar.gz cpython-1d8b04edfdc3030e645730492bfcc27b75718b96.tar.bz2 |
bpo-37599: Remove a vague statement in documentation of Integer Objects (#14786)
* Remove a vague statement in documentation
* Remove another vague sentence
A sentence starting with "So it should be possible..." shouldn't be in the docs either.
Co-Authored-By: Kyle Stanley <aeros167@gmail.com>
* Include the removal of the previous line
Co-Authored-By: Kyle Stanley <aeros167@gmail.com>
* Remove an extra space
Diffstat (limited to 'Doc/c-api/long.rst')
-rw-r--r-- | Doc/c-api/long.rst | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/Doc/c-api/long.rst b/Doc/c-api/long.rst index fdaefaf..aeebf30 100644 --- a/Doc/c-api/long.rst +++ b/Doc/c-api/long.rst @@ -42,9 +42,7 @@ distinguished from a number. Use :c:func:`PyErr_Occurred` to disambiguate. The current implementation keeps an array of integer objects for all integers between ``-5`` and ``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 ``1``. I suspect the behaviour of Python in this case is - undefined. :-) + just get back a reference to the existing object. .. c:function:: PyObject* PyLong_FromUnsignedLong(unsigned long v) |