mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
gh-92536: PEP 623: Remove wstr and legacy APIs from Unicode (GH-92537)
This commit is contained in:
parent
68fec31364
commit
f9c9354a7a
35 changed files with 199 additions and 2090 deletions
|
@ -848,15 +848,15 @@ on the right is the text you'd replace it with.
|
|||
``'s#'`` ``str(zeroes=True)``
|
||||
``'s*'`` ``Py_buffer(accept={buffer, str})``
|
||||
``'U'`` ``unicode``
|
||||
``'u'`` ``Py_UNICODE``
|
||||
``'u#'`` ``Py_UNICODE(zeroes=True)``
|
||||
``'u'`` ``wchar_t``
|
||||
``'u#'`` ``wchar_t(zeroes=True)``
|
||||
``'w*'`` ``Py_buffer(accept={rwbuffer})``
|
||||
``'Y'`` ``PyByteArrayObject``
|
||||
``'y'`` ``str(accept={bytes})``
|
||||
``'y#'`` ``str(accept={robuffer}, zeroes=True)``
|
||||
``'y*'`` ``Py_buffer``
|
||||
``'Z'`` ``Py_UNICODE(accept={str, NoneType})``
|
||||
``'Z#'`` ``Py_UNICODE(accept={str, NoneType}, zeroes=True)``
|
||||
``'Z'`` ``wchar_t(accept={str, NoneType})``
|
||||
``'Z#'`` ``wchar_t(accept={str, NoneType}, zeroes=True)``
|
||||
``'z'`` ``str(accept={str, NoneType})``
|
||||
``'z#'`` ``str(accept={str, NoneType}, zeroes=True)``
|
||||
``'z*'`` ``Py_buffer(accept={buffer, str, NoneType})``
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue