SIGN IN SIGN UP
python / cpython UNCLAIMED

The Python programming language

0 0 1 Python

gh-106664: selectors: add get() method to _SelectorMapping (#106665)

It can be used to avoid raising and catching KeyError twice via __getitem__.

Co-authored-by: Inada Naoki <songofacandy@gmail.com>
J
J. Nick Koston committed
8d2f3c36caf9ecdee1176314b18388aef6e7f2c2
Parent: e6e0ea0
Committed by GitHub <noreply@github.com> on 7/13/2023, 7:18:53 PM