This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author zach.ware
Recipients docs@python, hiankun, zach.ware
Date 2021-12-02.04:22:57
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1638418977.8.0.174421817731.issue45958@roundup.psfhosted.org>
In-reply-to
Content
The `/` denotes that `format` is a positional-only argument; you cannot make a call like `struct.unpack_from(format=my_format, buffer=my_buffer)`, it must be `struct.unpack_from(my_format, buffer=my_buffer)` or `struct.unpack_from(my_format, my_buffer)`.  The same syntax can be used to define your own function with positional-only arguments, see https://docs.python.org/3/tutorial/controlflow.html#positional-only-parameters or https://docs.python.org/3/reference/compound_stmts.html#function-definitions
History
Date User Action Args
2021-12-02 04:22:57zach.waresetrecipients: + zach.ware, docs@python, hiankun
2021-12-02 04:22:57zach.waresetmessageid: <1638418977.8.0.174421817731.issue45958@roundup.psfhosted.org>
2021-12-02 04:22:57zach.warelinkissue45958 messages
2021-12-02 04:22:57zach.warecreate