You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-02 16:44:46 +08:00
10 lines
211 B
Python
10 lines
211 B
Python
# Bug in Python 3.6 and 3.7 was getting comma before **kw
|
|
|
|
def fn(arg, *, kwarg='test', **kw):
|
|
assert arg == 1
|
|
assert kwarg == 'testing'
|
|
assert kw['foo'] == 'bar'
|
|
|
|
|
|
fn(1, kwarg='testing', foo='bar')
|