You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-03 00:45:53 +08:00
imports for 3.7+ again
This commit is contained in:
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -7,8 +7,10 @@
|
||||
import os.path as osp
|
||||
from sys import path
|
||||
from os import sep, name
|
||||
import collections.abc
|
||||
|
||||
assert osp.basename("a")
|
||||
assert path
|
||||
assert sep
|
||||
assert name
|
||||
assert collections.abc
|
||||
|
@@ -600,6 +600,7 @@ class Python37Parser(Python37BaseParser):
|
||||
import37 ::= import POP_TOP
|
||||
alias ::= IMPORT_NAME_ATTR IMPORT_FROM store
|
||||
alias ::= IMPORT_NAME_ATTR attributes store
|
||||
alias ::= IMPORT_NAME_ATTR store
|
||||
import_from ::= LOAD_CONST LOAD_CONST IMPORT_NAME_ATTR importlist POP_TOP
|
||||
|
||||
async_for_stmt ::= setup_loop expr
|
||||
|
Reference in New Issue
Block a user