Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit77ee247

Browse files
committed
change ordereddict to typing.ordereddict
1 parentcb5688d commit77ee247

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

‎git/config.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
configuration files"""
88

99
importabc
10+
fromtypingimportOrderedDict
1011
fromfunctoolsimportwraps
1112
importinspect
1213
fromioimportBufferedReader,IOBase
@@ -164,7 +165,7 @@ def __exit__(self, exception_type: str, exception_value: str, traceback: str) ->
164165
self._config.__exit__(exception_type,exception_value,traceback)
165166

166167

167-
class_OMD(Dict[str,List[_T]]):
168+
class_OMD(OrderedDict[str,List[_T]]):
168169
"""Ordered multi-dict."""
169170

170171
def__setitem__(self,key:str,value:_T)->None:# type: ignore[override]

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp