You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-03 00:45:53 +08:00
* class definitions made via closures * Add "make check-short" to top-level * parse3.py: Python 3.3 uses STORE_LOGALS
8 lines
210 B
Python
8 lines
210 B
Python
# Bug from 3.4 functools.py
|
|
# class is made with a closure not a makefunc
|
|
def cmp_to_key(mycmp):
|
|
class K(object):
|
|
def __ne__(self, other):
|
|
return mycmp(self.obj, other.obj)
|
|
return K
|