Skip to content

Commit 09f1afa

Browse files
methaneerlend-aasland
authored andcommitted
python/cpython#92536: PEP 623: Remove wstr and legacy APIs from Unicode (python/cpython#92537)
1 parent 67be7bd commit 09f1afa

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Doc/howto/clinic.rst

+4-4
Original file line numberDiff line numberDiff line change
@@ -848,15 +848,15 @@ on the right is the text you'd replace it with.
848848
``'s#'`` ``str(zeroes=True)``
849849
``'s*'`` ``Py_buffer(accept={buffer, str})``
850850
``'U'`` ``unicode``
851-
``'u'`` ``Py_UNICODE``
852-
``'u#'`` ``Py_UNICODE(zeroes=True)``
851+
``'u'`` ``wchar_t``
852+
``'u#'`` ``wchar_t(zeroes=True)``
853853
``'w*'`` ``Py_buffer(accept={rwbuffer})``
854854
``'Y'`` ``PyByteArrayObject``
855855
``'y'`` ``str(accept={bytes})``
856856
``'y#'`` ``str(accept={robuffer}, zeroes=True)``
857857
``'y*'`` ``Py_buffer``
858-
``'Z'`` ``Py_UNICODE(accept={str, NoneType})``
859-
``'Z#'`` ``Py_UNICODE(accept={str, NoneType}, zeroes=True)``
858+
``'Z'`` ``wchar_t(accept={str, NoneType})``
859+
``'Z#'`` ``wchar_t(accept={str, NoneType}, zeroes=True)``
860860
``'z'`` ``str(accept={str, NoneType})``
861861
``'z#'`` ``str(accept={str, NoneType}, zeroes=True)``
862862
``'z*'`` ``Py_buffer(accept={buffer, str, NoneType})``

0 commit comments

Comments
 (0)