Commit Graph

8 Commits

Author SHA1 Message Date
Alex Waygood
97a74bc1aa Import from collections.abc wherever possible (#7635) 2022-04-18 12:50:37 +02:00
Ilya Kulakov
d014533f36 bisect: elements of a are bounded by SupportsRichComparison (#7111) 2022-02-11 17:12:00 -08:00
Ilya Kulakov
f2ce1d1d21 bisect: insort_* expects x to match type of elements of a (#7102) 2022-02-02 12:21:11 +01:00
Ilya Kulakov
587d15a9bc bisect: fix type of x when key is present (#7097) 2022-01-31 17:49:58 -08:00
Alex Waygood
5670ca2f75 Add SupportsRichComparison type to _typeshed (#6583)
Use it to improve types of `max()` and other functions.

Also make some other tweaks to types related to comparison dunders.

Fixes #6575
2021-12-14 14:12:23 +00:00
Akuli
ee487304d7 Big diff: Use new "|" union syntax (#5872) 2021-08-08 11:05:21 +02:00
Shantanu
2d69d1a695 bisect: update for py310 (#5282) 2021-05-01 20:58:30 -07:00
Ivan Levkivskyi
16ae4c6120 Re-organize directory structure (#4971)
See discussion in #2491

Co-authored-by: Ivan Levkivskyi <ilevkivskyi@dropbox.com>
2021-01-27 12:00:39 +00:00