[configparser] Fix missing fallback argument in SectionProxy.get (#13559)

Closes: #13556
This commit is contained in:
Sebastian Rittau authored and GitHub committed 2025-02-28 03:33:10 -08:00
1 parent 1bd2a358c9
commit f1b121cf29
2 files changed
+14 -2

No files matched your search

@@ -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)