Add back module-level __getattr__ to encodings (#5261)

This is needed for submodules, such as `encodings.cp437`.
This commit is contained in:
Jukka Lehtosalo
2021-04-28 15:45:15 +01:00
committed by GitHub
parent 2c8cb60596
commit 8bd3e16eef
2 changed files with 6 additions and 2 deletions

View File

@@ -6,6 +6,7 @@
],
"exclude": [
"**/@python2",
"stdlib/encodings",
"stdlib/sqlite3/dbapi2.pyi",
"stdlib/tkinter",
"stdlib/xml/dom",
@@ -83,4 +84,4 @@
// Mypy's overlapping overload logic misses these issues (see mypy
// issue #10143 and #10157).
"reportOverlappingOverload": "none"
}
}