You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-03 00:45:53 +08:00
15 lines
262 B
Python
15 lines
262 B
Python
# Python 3.3+
|
|
#
|
|
# From Python 3.3.6 hmac.py
|
|
# Problem was getting wrong placement of positional args.
|
|
# In 3.6+ parameter 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
|