From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Tue, 29 Jul 2025 16:45:08 +0000 (+0200) Subject: [3.13] gh-137183: Document that `array.array` typecode `w` is new in 3.13 (GH-137184... X-Git-Tag: v3.13.6~32 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d61f8b841d22b745348cecf3156418f592f090f0;p=thirdparty%2FPython%2Fcpython.git [3.13] gh-137183: Document that `array.array` typecode `w` is new in 3.13 (GH-137184) (GH-137209) (cherry picked from commit 0b4e13c2658c5a267fc50ee045ffb7b6408b2e3b) Co-authored-by: Akuli --- diff --git a/Doc/library/array.rst b/Doc/library/array.rst index e0b1eb89cf6c..1f04f697c750 100644 --- a/Doc/library/array.rst +++ b/Doc/library/array.rst @@ -24,7 +24,7 @@ defined: +-----------+--------------------+-------------------+-----------------------+-------+ | ``'u'`` | wchar_t | Unicode character | 2 | \(1) | +-----------+--------------------+-------------------+-----------------------+-------+ -| ``'w'`` | Py_UCS4 | Unicode character | 4 | | +| ``'w'`` | Py_UCS4 | Unicode character | 4 | \(2) | +-----------+--------------------+-------------------+-----------------------+-------+ | ``'h'`` | signed short | int | 2 | | +-----------+--------------------+-------------------+-----------------------+-------+ @@ -60,6 +60,9 @@ Notes: .. deprecated-removed:: 3.3 3.16 Please migrate to ``'w'`` typecode. +(2) + .. versionadded:: 3.13 + The actual representation of values is determined by the machine architecture (strictly speaking, by the C implementation). The actual size can be accessed