formatter, parser, _bootlocale: remove for py310 (#5298)

Co-authored-by: hauntsaninja <>
This commit is contained in:
Shantanu
2021-05-02 06:24:30 -07:00
committed by GitHub
parent 9dcdb6f99c
commit 75e196e18a
3 changed files with 119 additions and 120 deletions

View File

@@ -1 +1,4 @@
def getpreferredencoding(do_setlocale: bool = ...) -> str: ...
import sys
if sys.version_info < (3, 10):
def getpreferredencoding(do_setlocale: bool = ...) -> str: ...