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.

classification
Title: zlib.compress level and wbits args are shown as keyword-only in the documentation
Type: behavior Stage: resolved
Components: Library (Lib) Versions: Python 3.11
process
Status: closed Resolution: not a bug
Dependencies: Superseder:
Assigned To: Nosy List: andrei.avk
Priority: low Keywords:

Created on 2022-01-07 22:41 by andrei.avk, last changed 2022-04-11 14:59 by admin. This issue is now closed.

Messages (2)
msg410051 - (view) Author: Andrei Kulakov (andrei.avk) * (Python triager) Date: 2022-01-07 22:41
zlib.compress level and wbits args are shown as keyword-only in the documentation, however they are accepted as positional without error.

Should the docs or the code be fixed?
msg410071 - (view) Author: Andrei Kulakov (andrei.avk) * (Python triager) Date: 2022-01-08 02:11
I forgot that '/' marks end of positional-only args, not keyword-only.
History
Date User Action Args
2022-04-11 14:59:54adminsetgithub: 90458
2022-01-08 02:11:38andrei.avksetstatus: open -> closed
resolution: not a bug
messages: + msg410071

stage: resolved
2022-01-07 22:41:21andrei.avksetcomponents: + Library (Lib)
2022-01-07 22:41:04andrei.avkcreate