bpo-36346: Document removal schedule of deprecate APIs (GH-20879) · python/cpython@2d6f2ee (original) (raw)
`` @@ -149,7 +149,7 @@ which disallows mutable objects such as :class:bytearray
.
``
149
149
`` Previously, :exc:TypeError
was raised when embedded null code points
``
150
150
` were encountered in the Python string.
`
151
151
``
152
``
`-
.. deprecated-removed:: 3.3 4.0
`
``
152
`+
.. deprecated-removed:: 3.3 3.12
`
153
153
`` Part of the old-style :c:type:Py_UNICODE
API; please migrate to using
``
154
154
`` :c:func:PyUnicode_AsWideCharString
.
``
155
155
``
`` @@ -158,23 +158,23 @@ which disallows mutable objects such as :class:bytearray
.
``
158
158
` Unicode data buffer, the second one its length. This variant allows
`
159
159
` null code points.
`
160
160
``
161
``
`-
.. deprecated-removed:: 3.3 4.0
`
``
161
`+
.. deprecated-removed:: 3.3 3.12
`
162
162
`` Part of the old-style :c:type:Py_UNICODE
API; please migrate to using
``
163
163
`` :c:func:PyUnicode_AsWideCharString
.
``
164
164
``
165
165
``` Z
(:class:str
or None
) [const Py_UNICODE *]
`166`
`166`
``` Like ``u``, but the Python object may also be ``None``, in which case the
167
167
``` :c:type:Py_UNICODE
pointer is set to NULL
.
`168`
`168`
``
`169`
``
`-
.. deprecated-removed:: 3.3 4.0
`
``
`169`
`+
.. deprecated-removed:: 3.3 3.12
`
`170`
`170`
`` Part of the old-style :c:type:`Py_UNICODE` API; please migrate to using
``
`171`
`171`
`` :c:func:`PyUnicode_AsWideCharString`.
``
`172`
`172`
``
`173`
`173`
``` ``Z#`` (:class:`str` or ``None``) [const Py_UNICODE \*, :c:type:`Py_ssize_t`]
174
174
``` Like u#
, but the Python object may also be None
, in which case the
`175`
`175`
``` :c:type:`Py_UNICODE` pointer is set to ``NULL``.
176
176
``
177
``
`-
.. deprecated-removed:: 3.3 4.0
`
``
177
`+
.. deprecated-removed:: 3.3 3.12
`
178
178
`` Part of the old-style :c:type:Py_UNICODE
API; please migrate to using
``
179
179
`` :c:func:PyUnicode_AsWideCharString
.
``
180
180
``