Skip to content

Commit

Permalink
Add versionchanged note to c-api around len behavior
Browse files Browse the repository at this point in the history
  • Loading branch information
cmaloney committed Feb 1, 2025
1 parent e240327 commit 925fcbd
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Doc/c-api/bytearray.rst
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,10 @@ Direct API functions
Resize the internal buffer of *bytearray* to *len*.
versionchanged:: 3.14
A negative *len* will now result in a failure with ``-1`` return and a
exeception set.
Macros
^^^^^^
Expand Down

0 comments on commit 925fcbd

Please sign in to comment.