You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
In RawConfigParser "vars: _section" should be "vars: Optional[_section]" #2847
Methods get*() and items() of RawConfigParser and SectionProxy declare argument vars=None.
However in the stubs they're defined as vars: _section, where _section = Mapping[str, str], which effectively creates problems when inheriting from ConfigParser and trying to follow the original defaults pattern.
Probably in all these methods it should be vars: Optional[_section].
Activity
srittau commentedon Mar 10, 2019
Patches welcome!
jolaf commentedon Mar 11, 2019
#2853