-
-
Notifications
You must be signed in to change notification settings - Fork 154
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
call_stmt -> expr_stmt when that's what it is version tuple things
- Loading branch information
Showing
3 changed files
with
323 additions
and
391 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
# Copyright (c) 2015-2020 by Rocky Bernstein | ||
# Copyright (c) 2015-2021 by Rocky Bernstein | ||
# Copyright (c) 2005 by Dan Pascu <[email protected]> | ||
# Copyright (c) 2000-2002 by hartmut Goebel <[email protected]> | ||
# | ||
|
@@ -930,11 +930,10 @@ def next_except_jump(self, start): | |
import inspect | ||
|
||
co = inspect.currentframe().f_code # type: ignore | ||
from decompyle3 import PYTHON_VERSION | ||
|
||
tokens, customize = Scanner37Base(PYTHON_VERSION).ingest(co) | ||
tokens, customize = Scanner37Base(PYTHON_VERSION_TRIPLE).ingest(co) | ||
for t in tokens: | ||
print(t) | ||
else: | ||
print(f"Need to be Python 3.7 to demo; I am version {version_tuple_to_str}.") | ||
print(f"Need to be Python 3.7 to demo; I am version {version_tuple_to_str()}.") | ||
pass |
Oops, something went wrong.