summaryrefslogtreecommitdiffstats
path: root/Doc/c-api
diff options
context:
space:
mode:
authorInada Naoki <songofacandy@gmail.com>2020-06-29 04:00:43 (GMT)
committerGitHub <noreply@github.com>2020-06-29 04:00:43 (GMT)
commite4f1fe6edb216e04da03ae80b462ca273f00255b (patch)
tree6d6a6d56b5cae2fe05e26a4aa36fcaaa04116b50 /Doc/c-api
parentd9f2a13106254c53550583adca70aeb3979f2993 (diff)
downloadcpython-e4f1fe6edb216e04da03ae80b462ca273f00255b.zip
cpython-e4f1fe6edb216e04da03ae80b462ca273f00255b.tar.gz
cpython-e4f1fe6edb216e04da03ae80b462ca273f00255b.tar.bz2
bpo-41123: Remove PyLong_FromUnicode() (GH-21204)
Diffstat (limited to 'Doc/c-api')
-rw-r--r--Doc/c-api/long.rst11
1 files changed, 0 insertions, 11 deletions
diff --git a/Doc/c-api/long.rst b/Doc/c-api/long.rst
index a7bd43d..3921a93 100644
--- a/Doc/c-api/long.rst
+++ b/Doc/c-api/long.rst
@@ -94,17 +94,6 @@ distinguished from a number. Use :c:func:`PyErr_Occurred` to disambiguate.
are no digits, :exc:`ValueError` will be raised.
-.. c:function:: PyObject* PyLong_FromUnicode(Py_UNICODE *u, Py_ssize_t length, int base)
-
- Convert a sequence of Unicode digits to a Python integer value. The Unicode
- string is first encoded to a byte string using :c:func:`PyUnicode_EncodeDecimal`
- and then converted using :c:func:`PyLong_FromString`.
-
- .. deprecated-removed:: 3.3 4.0
- Part of the old-style :c:type:`Py_UNICODE` API; please migrate to using
- :c:func:`PyLong_FromUnicodeObject`.
-
-
.. c:function:: PyObject* PyLong_FromUnicodeObject(PyObject *u, int base)
Convert a sequence of Unicode digits in the string *u* to a Python integer