]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
The current documentation says it returns None if the name is not found, but (GH...
authorJelle Zijlstra <jelle.zijlstra@gmail.com>
Mon, 26 Jul 2021 16:18:19 +0000 (09:18 -0700)
committerGitHub <noreply@github.com>
Mon, 26 Jul 2021 16:18:19 +0000 (18:18 +0200)
commitf22737abfa07605f4ed1a99cfa97a26520b6c5c2
treed8d0c12f220e85831d1bf9334f76d1531692b312
parentc97c2a050cf753003012ae3f08e035326b8f6167
The current documentation says it returns None if the name is not found, but (GH-26785)

the implementation uses [] and will raise KeyError instead.

Noticed by @srittau in python/typeshed@5659.
Doc/library/sysconfig.rst
Misc/NEWS.d/next/Documentation/2021-06-18-06-44-45.bpo-44453.3PIkj2.rst [new file with mode: 0644]