| commit | 5151826ee453eb6b8d32336e289573c421e956a4 | [log] [tgz] |
|---|---|---|
| author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | Mon Jul 26 12:35:33 2021 -0700 |
| committer | GitHub <noreply@github.com> | Mon Jul 26 21:35:33 2021 +0200 |
| tree | 75e657a901d2401b76422b251e5f8986bc3a54ee | |
| parent | 563e05743c8f31366db7ef35a00e396c9f442b17 [diff] |
The current documentation says it returns None if the name is not found, but (GH-26785) (GH-27371) the implementation uses [] and will raise KeyError instead. Noticed by @srittau in python/typeshed@5659. (cherry picked from commit f22737abfa07605f4ed1a99cfa97a26520b6c5c2) Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>