MCPcopy
hub / github.com/rocky/python-uncompyle6 / fn

Function fn

test/simple_source/bug36/07_kwargs.py:3–6  ·  view source on GitHub ↗
(arg, *, kwarg='test', **kw)

Source from the content-addressed store, hash-verified

1# Bug in Python 3.6 and 3.7 was getting comma before **kw
2
3def fn(arg, *, kwarg='test', **kw):
4 assert arg == 1
5 assert kwarg == 'testing'
6 assert kw['foo'] == 'bar'
7
8
9fn(1, kwarg='testing', foo='bar')

Callers 7

07_kwargs.pyFile · 0.70
reduce_is_invalidMethod · 0.50
reduce_is_invalidMethod · 0.50
reduce_is_invalidMethod · 0.50
reduce_is_invalidMethod · 0.50
ValueFunction · 0.50
parse_marked_sectionFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected