bpo-36346: Undeprecate private function _PyUnicode_AsUnicode(). (GH-21336)

This commit is contained in:
Serhiy Storchaka 2020-07-05 18:53:45 +03:00 • committed by GitHub
parent 7fed75597f
commit b3dd5cd4a3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 5 additions and 68 deletions

View file

@ -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 */
);