8000 Py37 compileall add invalidation mode by SKalt · Pull Request #3476 · python/typeshed · GitHub
[go: up one dir, main page]

Skip to content

Py37 compileall add invalidation mode #3476

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
blacked the changed file
  • Loading branch information
Steven Kalt committed Nov 21, 2019
commit 3599b523af785b5b6875864f024807a652bcd862
3 changes: 2 additions & 1 deletion stdlib/3/compileall.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ if sys.version_info >= (3, 7):
optimize: int = ...,
invalidation_mode: PycInvalidationMode = ...,
) -> _SuccessType: ...

else:
# rx can be any object with a 'search' method; once we have Protocols we can change the type
def compile_dir(
Expand Down Expand Up @@ -72,5 +73,5 @@ else:
force: bool = ...,
quiet: int = ...,
legacy: bool = ...,
optimize: int = ...
optimize: int = ...,
) -> _SuccessType: ...
0