| commit | 8d2f3c36caf9ecdee1176314b18388aef6e7f2c2 | [log] [tgz] |
|---|---|---|
| author | J. Nick Koston <nick@koston.org> | Thu Jul 13 09:18:53 2023 -1000 |
| committer | GitHub <noreply@github.com> | Thu Jul 13 19:18:53 2023 +0000 |
| tree | 8c9db77b946611cc5a758bdeee2bed5efa879bfb | |
| parent | e6e0ea0113748db1e9fe675be6db9041cd5cce1f [diff] |
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>