summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2021-07-26 19:35:33 (GMT)
committerGitHub <noreply@github.com>2021-07-26 19:35:33 (GMT)
commit5151826ee453eb6b8d32336e289573c421e956a4 (patch)
tree75e657a901d2401b76422b251e5f8986bc3a54ee /Lib
parent563e05743c8f31366db7ef35a00e396c9f442b17 (diff)
downloadcpython-5151826ee453eb6b8d32336e289573c421e956a4.zip
cpython-5151826ee453eb6b8d32336e289573c421e956a4.tar.gz
cpython-5151826ee453eb6b8d32336e289573c421e956a4.tar.bz2
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>
Diffstat (limited to 'Lib')
0 files changed, 0 insertions, 0 deletions