diff options
author | Hugo van Kemenade <hugovk@users.noreply.github.com> | 2023-06-11 09:17:35 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-11 09:17:35 (GMT) |
commit | cc879481e2ac29742ce191f4c6ed4bd85e5e11ba (patch) | |
tree | ec351755d6df819ba80a6530dd822d16972c809a /Doc | |
parent | 3a314f7c3df0dd7c37da7d12b827f169ee60e1ea (diff) | |
download | cpython-cc879481e2ac29742ce191f4c6ed4bd85e5e11ba.zip cpython-cc879481e2ac29742ce191f4c6ed4bd85e5e11ba.tar.gz cpython-cc879481e2ac29742ce191f4c6ed4bd85e5e11ba.tar.bz2 |
gh-80480: Emit DeprecationWarning for array's 'u' type code (#95760)
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/library/array.rst | 2 | ||||
-rw-r--r-- | Doc/whatsnew/3.13.rst | 5 |
2 files changed, 6 insertions, 1 deletions
diff --git a/Doc/library/array.rst b/Doc/library/array.rst index 1f5810b..0afc217 100644 --- a/Doc/library/array.rst +++ b/Doc/library/array.rst @@ -57,7 +57,7 @@ Notes: ``Py_UNICODE``. This change doesn't affect its behavior because ``Py_UNICODE`` is alias of ``wchar_t`` since Python 3.3. - .. deprecated-removed:: 3.3 4.0 + .. deprecated-removed:: 3.3 3.16 Please migrate to ``'w'`` typecode. diff --git a/Doc/whatsnew/3.13.rst b/Doc/whatsnew/3.13.rst index e3090f1..e6504b0 100644 --- a/Doc/whatsnew/3.13.rst +++ b/Doc/whatsnew/3.13.rst @@ -134,6 +134,11 @@ Deprecated They will be removed in Python 3.15. (Contributed by Victor Stinner in :gh:`105096`.) +* :mod:`array`'s ``'u'`` format code, deprecated in docs since Python 3.3, + emits :exc:`DeprecationWarning` since 3.13 + and will be removed in Python 3.16. + Use the ``'w'`` format code instead. + (contributed by Hugo van Kemenade in :gh:`80480`) Removed ======= |