gh-93738: Documentation C syntax (:c:type:Py_UNICODE* -> :c:expr:Py_UNICODE*) (#97784)

:c:type:`Py_UNICODE*` -> :c:expr:`Py_UNICODE*`
This commit is contained in:
Adam Turner 2022-10-05 00:10:57 +01:00 committed by GitHub
parent ff28d8926d
commit a081cae2a2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2267,7 +2267,7 @@ The :c:type:`Py_UNICODE` has been deprecated by :pep:`393` and will be
removed in Python 4. All functions using this type are deprecated:
Unicode functions and methods using :c:type:`Py_UNICODE` and
:c:type:`Py_UNICODE*` types:
:c:expr:`Py_UNICODE*` types:
* :c:macro:`PyUnicode_FromUnicode`: use :c:func:`PyUnicode_FromWideChar` or
:c:func:`PyUnicode_FromKindAndData`