Skip to content

Commit 4adeb75

Browse files
committed
Add versionchanged
1 parent 0cbd318 commit 4adeb75

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

‎Doc/c-api/tuple.rst‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,9 @@ Tuple Objects
161161
:c:func:`PyTuple_SetItem`; except if *newsize* is zero in which case it
162162
returns the immutable empty tuple.
163163
164+
.. versionchanged:: next
165+
The function now fails if the tuple hash value was already computed.
166+
164167
165168
.. _struct-sequence-objects:
166169

0 commit comments

Comments
 (0)