[docs] [issue26899] struct.pack_into(), struct.unpack_from() don't document support for negative offsets

Paul Sokolovsky report at bugs.python.org
Sun May 1 06:09:35 EDT 2016


New submission from Paul Sokolovsky:

See
https://docs.python.org/3/library/struct.html#struct.pack_into
https://docs.python.org/3/library/struct.html#struct.unpack_from

Actual source contains code like:

    if (offset < 0)
        offset += vbuf.len;

to allow specify offsets from the end of a buffer.

----------
assignee: docs at python
components: Documentation
messages: 264590
nosy: docs at python, pfalcon
priority: normal
severity: normal
status: open
title: struct.pack_into(), struct.unpack_from() don't document support for negative offsets
versions: Python 3.6

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue26899>
_______________________________________


More information about the docs mailing list