X Tutup
Skip to content

Commit 7700446

Browse files
committed
Note github unpyc3 and..
- Add source to bytecode_2.2/03_class_method.pyc - more ignore
1 parent bfd2f77 commit 7700446

File tree

4 files changed

+16
-1
lines changed

4 files changed

+16
-1
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1+
*.pyo
12
*.pyc
23
*_dis
34
*~
4-
*.pyc
55
/.cache
66
/.eggs
77
/.python-version
@@ -13,5 +13,6 @@
1313
/nose-*.egg
1414
/tmp
1515
/uncompyle6.egg-info
16+
/unpyc
1617
__pycache__
1718
build

README.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,7 @@ See Also
132132

133133
* https://github.com/zrax/pycdc : supports all versions of Python and is written in C++
134134
* https://code.google.com/archive/p/unpyc3/ : supports Python 3.2 only. The above projects use a different decompiling technique what is used here.
135+
* https://github.com/figment/unpyc3/ : fork of above, but supports Python 3.2 only. Include some fixes like supporting function annotations
135136
* The HISTORY_ file.
136137

137138
.. |downloads| image:: https://img.shields.io/pypi/dd/uncompyle6.svg
0 Bytes
Binary file not shown.
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# From Decompyle++
2+
# File: 22_class_method.pyc (Python 2.2)
3+
# An old-style Python class.
4+
5+
class MyClass:
6+
7+
def method(self, i):
8+
if i is 5:
9+
print 'five'
10+
elif not (i is 2):
11+
print 'not two'
12+
else:
13+
print '2'

0 commit comments

Comments
 (0)
X Tutup