Co-authored-by: Sergey B Kirpichev <skirpichev@gmail.com>
Co-authored-by: Brian Schubert <brianm.schubert@gmail.com>
Return a new :c:type:`PyLongObject` object from *v*, or ``NULL`` on failure.
- 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.
+ .. impl-detail::
+
+ CPython 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.
.. c:function:: PyObject* PyLong_FromUnsignedLong(unsigned long v)