Python 3.11 removals in stdlib (#6374)

Co-authored-by: Akuli <akuviljanen17@gmail.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
This commit is contained in:
Alex Waygood
2021-11-25 19:34:12 +02:00
committed by GitHub
co-authored by Akuli pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
parent ab026bfecb
commit 9707cb00f6
13 changed files with 159 additions and 88 deletions
+3 -1
View File
@@ -137,7 +137,9 @@ class RawConfigParser(_parser):
def optionxform(self, optionstr: str) -> str: ...
class ConfigParser(RawConfigParser): ...
class SafeConfigParser(ConfigParser): ...
if sys.version_info < (3, 11):
class SafeConfigParser(ConfigParser): ...
class SectionProxy(MutableMapping[str, str]):
def __init__(self, parser: RawConfigParser, name: str) -> None: ...