You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-04 09:14:10 +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
|
import os.path as osp
|
||||||
from sys import path
|
from sys import path
|
||||||
from os import sep, name
|
from os import sep, name
|
||||||
|
import collections.abc
|
||||||
|
|
||||||
assert osp.basename("a")
|
assert osp.basename("a")
|
||||||
assert path
|
assert path
|
||||||
assert sep
|
assert sep
|
||||||
assert name
|
assert name
|
||||||
|
assert collections.abc
|
||||||
|
@@ -600,6 +600,7 @@ class Python37Parser(Python37BaseParser):
|
|||||||
import37 ::= import POP_TOP
|
import37 ::= import POP_TOP
|
||||||
alias ::= IMPORT_NAME_ATTR IMPORT_FROM store
|
alias ::= IMPORT_NAME_ATTR IMPORT_FROM store
|
||||||
alias ::= IMPORT_NAME_ATTR attributes store
|
alias ::= IMPORT_NAME_ATTR attributes store
|
||||||
|
alias ::= IMPORT_NAME_ATTR store
|
||||||
import_from ::= LOAD_CONST LOAD_CONST IMPORT_NAME_ATTR importlist POP_TOP
|
import_from ::= LOAD_CONST LOAD_CONST IMPORT_NAME_ATTR importlist POP_TOP
|
||||||
|
|
||||||
async_for_stmt ::= setup_loop expr
|
async_for_stmt ::= setup_loop expr
|
||||||
|
Reference in New Issue
Block a user