There was an error while loading. Please reload this page.
1 parent cb5688d commit 77ee247Copy full SHA for 77ee247
1 file changed
git/config.py
@@ -7,6 +7,7 @@
7
configuration files"""
8
9
import abc
10
+from typing import OrderedDict
11
from functools import wraps
12
import inspect
13
from io import BufferedReader, IOBase
@@ -164,7 +165,7 @@ def __exit__(self, exception_type: str, exception_value: str, traceback: str) ->
164
165
self._config.__exit__(exception_type, exception_value, traceback)
166
167
-class _OMD(Dict[str, List[_T]]):
168
+class _OMD(OrderedDict[str, List[_T]]):
169
"""Ordered multi-dict."""
170
171
def __setitem__(self, key: str, value: _T) -> None: # type: ignore[override]
0 commit comments