Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 28fdd30 commit 3abc837Copy full SHA for 3abc837
git/config.py
@@ -41,7 +41,7 @@
41
42
T_ConfigParser = TypeVar('T_ConfigParser', bound='GitConfigParser')
43
44
-if sys.version_info[:2] < (3, 7, 2):
+if sys.version_info[:3] < (3, 7, 2):
45
# typing.Ordereddict not added until py 3.7.2
46
from collections import OrderedDict
47
OrderedDict_OMD = OrderedDict
@@ -50,7 +50,7 @@
50
51
OrderedDict_OMD = OrderedDict[str, List[_T]]
52
else:
53
- from typing import OrderedDict
+ from typing import OrderedDict # type: ignore # until 3.6 dropped
54
OrderedDict_OMD = OrderedDict[str, List[_T]] # type: ignore[assignment, misc]
55
56
# -------------------------------------------------------------
0 commit comments