[Python-checkins] gh-93738: Documentation C syntax (:c:type:`Py_UNICODE*` -> :c:expr:`Py_UNICODE*`) (#97784)

ambv webhook-mailer at python.org
Tue Oct 4 19:11:05 EDT 2022


https://github.com/python/cpython/commit/a081cae2a2cd1248ad067c3f7dc218ea7e3d203a
commit: a081cae2a2cd1248ad067c3f7dc218ea7e3d203a
branch: main
author: Adam Turner <9087854+AA-Turner at users.noreply.github.com>
committer: ambv <lukasz at langa.pl>
date: 2022-10-04T16:10:57-07:00
summary:

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

:c:type:`Py_UNICODE*` -> :c:expr:`Py_UNICODE*`

files:
M Doc/whatsnew/3.3.rst

diff --git a/Doc/whatsnew/3.3.rst b/Doc/whatsnew/3.3.rst
index 2d78f81798f2..609370bad274 100644
--- a/Doc/whatsnew/3.3.rst
+++ b/Doc/whatsnew/3.3.rst
@@ -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`



More information about the Python-checkins mailing list