mirror of
https://github.com/python/cpython.git
synced 2025-11-25 04:34:37 +00:00
bpo-36957: Add _PyLong_Rshift() and _PyLong_Lshift(). (GH-13416)
This commit is contained in:
parent
1d5bdef550
commit
a5119e7d75
4 changed files with 87 additions and 53 deletions
|
|
@ -230,6 +230,9 @@ PyAPI_FUNC(PyObject *) _PyLong_GCD(PyObject *, PyObject *);
|
|||
#ifndef Py_LIMITED_API
|
||||
PyAPI_DATA(PyObject *) _PyLong_Zero;
|
||||
PyAPI_DATA(PyObject *) _PyLong_One;
|
||||
|
||||
PyAPI_FUNC(PyObject *) _PyLong_Rshift(PyObject *, size_t);
|
||||
PyAPI_FUNC(PyObject *) _PyLong_Lshift(PyObject *, size_t);
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue