summaryrefslogtreecommitdiffstats
path: root/Include
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2020-07-05 15:53:45 (GMT)
committerGitHub <noreply@github.com>2020-07-05 15:53:45 (GMT)
commitb3dd5cd4a36877c473417fd7b3358843dcf8e647 (patch)
tree92dc0f758aaadbef1b6f1dda0ab639229ef887cb /Include
parent7fed75597fac11f9a6c769e2b6c6548fe0e4049d (diff)
downloadcpython-b3dd5cd4a36877c473417fd7b3358843dcf8e647.zip
cpython-b3dd5cd4a36877c473417fd7b3358843dcf8e647.tar.gz
cpython-b3dd5cd4a36877c473417fd7b3358843dcf8e647.tar.bz2
bpo-36346: Undeprecate private function _PyUnicode_AsUnicode(). (GH-21336)
Diffstat (limited to 'Include')
-rw-r--r--Include/cpython/unicodeobject.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Include/cpython/unicodeobject.h b/Include/cpython/unicodeobject.h
index a82eee4..49ad32d 100644
--- a/Include/cpython/unicodeobject.h
+++ b/Include/cpython/unicodeobject.h
@@ -581,7 +581,7 @@ Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
/* Similar to PyUnicode_AsUnicode(), but raises a ValueError if the string
contains null characters. */
-Py_DEPRECATED(3.3) PyAPI_FUNC(const Py_UNICODE *) _PyUnicode_AsUnicode(
+PyAPI_FUNC(const Py_UNICODE *) _PyUnicode_AsUnicode(
PyObject *unicode /* Unicode object */
);