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 5c028df commit 8da196fCopy full SHA for 8da196f
Doc/c-api/long.rst
@@ -403,8 +403,8 @@ distinguished from a number. Use :c:func:`PyErr_Occurred` to disambiguate.
403
404
Otherwise, returns the number of bytes required to store the value.
405
If this is equal to or less than *n_bytes*, the entire value was copied.
406
- All *n_bytes* of the buffer are written: large buffers are padded with
407
- zeroes.
+ All *n_bytes* of the buffer are written: remaining bytes filled by
+ copies of the sign bit.
408
409
If the returned value is greater than *n_bytes*, the value was
410
truncated: as many of the lowest bits of the value as could fit are written,
0 commit comments