Issue #28792: Remove aliases from _bisect · pythoncapi/cpython@1018fad · GitHub
Skip to content

Commit 1018fad

Browse files
committed
Issue python#28792: Remove aliases from _bisect
Remove aliases from the C module. Always implement bisect() and insort() aliases in bisect.py Remove also the "# backward compatibility" command, there is no plan to deprecate nor remove these aliases. When keys are equal, it makes sense to use bisect.bisect() and bisect.insort().
1 parent ed6de73 commit 1018fad

2 files changed

Lines changed: 4 additions & 11 deletions

File tree

Lib/bisect.py

Lines changed: 4 additions & 4 deletions

Modules/_bisectmodule.c

Lines changed: 0 additions & 7 deletions

0 commit comments

Comments
 (0)