You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-04 01:09:52 +08:00
14 lines
266 B
Python
14 lines
266 B
Python
# 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'
|