You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-03 00:45:53 +08:00
12 lines
382 B
Python
12 lines
382 B
Python
# From Python 3.6 hmac.py
|
|
# needed to change mklambda rule
|
|
def __init__(self, msg = None, digestmod = None):
|
|
self.digest_cons = lambda d='': digestmod.new(d)
|
|
|
|
# From Python 3.6 functools.py
|
|
# Bug was handling lambda for MAKE_FUNCTION_8 (closure)
|
|
# vs to MAKE_FUNCTION_9 (pos_args + closure)
|
|
def bug():
|
|
def register(cls, func=None):
|
|
return lambda f: register(cls, f)
|