You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-03 00:45:53 +08:00
Handle Python 3.3 > dotted class names
This commit is contained in:
13
test/simple_source/def/05_class.py
Normal file
13
test/simple_source/def/05_class.py
Normal file
@@ -0,0 +1,13 @@
|
||||
# Tests:
|
||||
# importstmt ::= LOAD_CONST LOAD_CONST import_as
|
||||
# import_as ::= IMPORT_NAME designator
|
||||
|
||||
# Since Python 3.3:
|
||||
# classdef ::= buildclass designator
|
||||
# designator ::= STORE_NAME
|
||||
# buildclass ::= LOAD_BUILD_CLASS mkfunc LOAD_CONST expr CALL_FUNCTION_3
|
||||
# mkfunc ::= LOAD_CONST LOAD_CONST MAKE_FUNCTION_0
|
||||
|
||||
import io
|
||||
class BZ2File(io.BufferedIOBase):
|
||||
pass
|
Reference in New Issue
Block a user