Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 8091be3

Browse files
committed
Get Iterable from collections.abc.
1 parent 73906d5 commit 8091be3

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

Lib/configparser.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@
143143
between keys and values are surrounded by spaces.
144144
"""
145145

146-
from collections.abc import MutableMapping
146+
from collections.abc import Iterable, MutableMapping
147147
from collections import ChainMap as _ChainMap
148148
import contextlib
149149
from dataclasses import dataclass, field
@@ -153,7 +153,6 @@
153153
import os
154154
import re
155155
import sys
156-
from typing import Iterable
157156

158157
__all__ = ("NoSectionError", "DuplicateOptionError", "DuplicateSectionError",
159158
"NoOptionError", "InterpolationError", "InterpolationDepthError",

0 commit comments

Comments
 (0)