You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-04 01:09:52 +08:00
13 lines
245 B
Python
13 lines
245 B
Python
# From Python 3.3.6 hmac.py
|
|
# Problem was getting wrong placement of positional args.
|
|
# In 3.6+ paramter handling changes
|
|
|
|
# RUNNABLE!
|
|
|
|
digest_cons = lambda d=b'': 5
|
|
|
|
# Handle single kwarg
|
|
x = lambda *, d=0: d
|
|
assert x(d=1) == 1
|
|
assert x() == 0
|