mirror of
https://github.com/python/cpython.git
synced 2025-11-02 03:01:58 +00:00
Issue #13072: The array module's 'u' format code is now deprecated and
will be removed in Python 4.0.
This commit is contained in:
parent
8d649ef951
commit
029780be09
3 changed files with 16 additions and 1 deletions
|
|
@ -47,10 +47,15 @@ defined:
|
|||
Notes:
|
||||
|
||||
(1)
|
||||
The ``'u'`` type code corresponds to Python's unicode character
|
||||
The ``'u'`` type code corresponds to Python's obsolete unicode character
|
||||
(:c:type:`Py_UNICODE` which is :c:type:`wchar_t`). Depending on the
|
||||
platform, it can be 16 bits or 32 bits.
|
||||
|
||||
``'u'`` will be removed together with the rest of the :c:type:`Py_UNICODE`
|
||||
API.
|
||||
|
||||
.. deprecated-removed:: 3.3 4.0
|
||||
|
||||
(2)
|
||||
The ``'q'`` and ``'Q'`` type codes are available only if
|
||||
the platform C compiler used to build Python supports C :c:type:`long long`,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue