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>
M
Miss Islington (bot) committed
5151826ee453eb6b8d32336e289573c421e956a4
Parent: 563e057
Committed by GitHub <noreply@github.com>
on 7/26/2021, 7:35:33 PM