mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-07-31 21:20:23 +08:00
[configparser] Fix missing fallback argument in SectionProxy.get (#13559)
Closes: #13556
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
from configparser import RawConfigParser, SectionProxy
|
||||
from typing_extensions import assert_type
|
||||
|
||||
sp = SectionProxy(RawConfigParser(), "")
|
||||
assert_type(sp.get("foo", fallback="hi"), str)
|
||||
Reference in New Issue
Block a user