Thanks to visit codestin.com Credit goes to github.com
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 bdba5f0 commit 421bd17Copy full SHA for 421bd17
1 file changed
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