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@python components: Documentation messages: 264590 nosy: docs@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 <rep...@bugs.python.org> <http://bugs.python.org/issue26899> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com