You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-04 09:22:40 +08:00
Note github unpyc3 and..
- Add source to bytecode_2.2/03_class_method.pyc - more ignore
This commit is contained in:
13
test/simple_source/def/03_class_method.py
Normal file
13
test/simple_source/def/03_class_method.py
Normal file
@@ -0,0 +1,13 @@
|
||||
# From Decompyle++
|
||||
# File: 22_class_method.pyc (Python 2.2)
|
||||
# An old-style Python class.
|
||||
|
||||
class MyClass:
|
||||
|
||||
def method(self, i):
|
||||
if i is 5:
|
||||
print 'five'
|
||||
elif not (i is 2):
|
||||
print 'not two'
|
||||
else:
|
||||
print '2'
|
Reference in New Issue
Block a user