compileall: update for py39 again (#4269)

Co-authored-by: hauntsaninja <>
This commit is contained in:
Shantanu
2020-06-26 03:46:18 -07:00
committed by GitHub
parent fc8b0ed94e
commit cc150f1d76

View File

@@ -26,6 +26,7 @@ if sys.version_info >= (3, 9):
stripdir: Optional[str] = ..., # TODO: change to Optional[AnyPath] once https://bugs.python.org/issue40447 is resolved
prependdir: Optional[AnyPath] = ...,
limit_sl_dest: Optional[AnyPath] = ...,
hardlink_dupes: bool = ...,
) -> _SuccessType: ...
def compile_file(
fullname: AnyPath,
@@ -40,6 +41,7 @@ if sys.version_info >= (3, 9):
stripdir: Optional[str] = ..., # TODO: change to Optional[AnyPath] once https://bugs.python.org/issue40447 is resolved
prependdir: Optional[AnyPath] = ...,
limit_sl_dest: Optional[AnyPath] = ...,
hardlink_dupes: bool = ...,
) -> _SuccessType: ...
elif sys.version_info >= (3, 7):
def compile_dir(