[issue46747] bisect.bisect/insort don't document key parameter

Stefan Pochmann report at bugs.python.org
Mon Feb 14 02:09:36 EST 2022


New submission from Stefan Pochmann <stefan.pochmann at gmail.com>:

The signatures for the versions without "_right" suffix are missing the key parameter:

bisect.bisect_right(a, x, lo=0, hi=len(a), *, key=None)
bisect.bisect(a, x, lo=0, hi=len(a))¶

bisect.insort_right(a, x, lo=0, hi=len(a), *, key=None)
bisect.insort(a, x, lo=0, hi=len(a))¶

https://docs.python.org/3/library/bisect.html#bisect.bisect_right
https://docs.python.org/3/library/bisect.html#bisect.insort_right

----------
assignee: docs at python
components: Documentation
messages: 413213
nosy: Stefan Pochmann, docs at python
priority: normal
severity: normal
status: open
title: bisect.bisect/insort don't document key parameter
versions: Python 3.10, Python 3.11

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue46747>
_______________________________________


More information about the Python-bugs-list mailing list