]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-137183: Document that `array.array` typecode `w` is new in 3.13 (GH-137184)
authorAkuli <akuviljanen17@gmail.com>
Tue, 29 Jul 2025 15:23:44 +0000 (18:23 +0300)
committerGitHub <noreply@github.com>
Tue, 29 Jul 2025 15:23:44 +0000 (17:23 +0200)
Doc/library/array.rst

index e0b1eb89cf6c05a77c0eca1b11545d11902a5d2d..1f04f697c7507f5995a4aee85d92943715bf46ff 100644 (file)
@@ -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