File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 6
6
],
7
7
"exclude" : [
8
8
" **/@python2" ,
9
+ " stdlib/encodings" ,
9
10
" stdlib/sqlite3/dbapi2.pyi" ,
10
11
" stdlib/tkinter" ,
11
12
" stdlib/xml/dom" ,
83
84
// Mypy's overlapping overload logic misses these issues (see mypy
84
85
// issue #10143 and #10157).
85
86
"reportOverlappingOverload" : " none"
86
- }
87
+ }
Original file line number Diff line number Diff line change 1
1
from codecs import CodecInfo
2
- from typing import Optional , Union
2
+ from typing import Any , Optional , Union
3
3
4
4
class CodecRegistryError (LookupError , SystemError ): ...
5
5
6
6
def normalize_encoding (encoding : Union [str , bytes ]) -> str : ...
7
7
def search_function (encoding : str ) -> Optional [CodecInfo ]: ...
8
+
9
+ # Needed for submodules
10
+ def __getattr__ (name : str ) -> Any : ... # incomplete
You can’t perform that action at this time.
0 commit comments