We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 601ccb7 commit 2e49323Copy full SHA for 2e49323
Doc/c-api/long.rst
@@ -453,8 +453,8 @@ distinguished from a number. Use :c:func:`PyErr_Occurred` to disambiguate.
453
454
Otherwise, returns the number of bytes required to store the value.
455
If this is equal to or less than *n_bytes*, the entire value was copied.
456
- All *n_bytes* of the buffer are written: large buffers are padded with
457
- zeroes.
+ All *n_bytes* of the buffer are written: remaining bytes filled by
+ copies of the sign bit.
458
459
If the returned value is greater than *n_bytes*, the value was
460
truncated: as many of the lowest bits of the value as could fit are written,
0 commit comments