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
This commit is contained in:
sgal 2019-07-16 08:15:17 -07:00 committed by Raymond Hettinger
parent a0f7119f15
commit 1d8b04edfd
1 changed files with 1 additions and 3 deletions

View File

@ -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 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 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 just get back a reference to the existing object.
change the value of ``1``. I suspect the behaviour of Python in this case is
undefined. :-)
.. c:function:: PyObject* PyLong_FromUnsignedLong(unsigned long v) .. c:function:: PyObject* PyLong_FromUnsignedLong(unsigned long v)