You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-03 00:45:53 +08:00
More Python3 deparsing
- grammar rule genexpr - More Python3 docstring formatted
This commit is contained in:
7
test/simple_source/comprehension/10-genexpr.py
Normal file
7
test/simple_source/comprehension/10-genexpr.py
Normal file
@@ -0,0 +1,7 @@
|
||||
# Tests in Python 3:
|
||||
#
|
||||
# load_genexpr ::= BUILD_TUPLE_1 LOAD_GENEXPR LOAD_CONST
|
||||
# genexpr ::= load_closure load_genexpr MAKE_CLOSURE_0 expr GET_ITER CALL_FUNCTION_1
|
||||
|
||||
def __instancecheck__(cls, instance):
|
||||
return any(cls.__subclasscheck__(c) for c in {subclass, subtype})
|
Reference in New Issue
Block a user