diff options
author | Raymond Hettinger <rhettinger@users.noreply.github.com> | 2024-02-28 23:04:56 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-28 23:04:56 (GMT) |
commit | 67c19e57b5c928278ebd191a545979ce786f06b3 (patch) | |
tree | 89cb3b560a1f1cc29d8dbe1508e52e40e9c7b394 /Lib | |
parent | 81c79961d2ee27dec90dbc0b72dfca7a5b27de7a (diff) | |
download | cpython-67c19e57b5c928278ebd191a545979ce786f06b3.zip cpython-67c19e57b5c928278ebd191a545979ce786f06b3.tar.gz cpython-67c19e57b5c928278ebd191a545979ce786f06b3.tar.bz2 |
Improve all_equal() recipe (gh-116081)
Replace conjuction of next() calls with simpler len()/take() logic. Add key function.
Diffstat (limited to 'Lib')
0 files changed, 0 insertions, 0 deletions