MCPcopy Create free account
hub / github.com/bslatkin/effectivepython / my_func

Function my_func

example_code/item_030.py:51–52  ·  view source on GitHub ↗
(items)

Source from the content-addressed store, hash-verified

49
50print("Example 1")
51def my_func(items):
52 items.append(4)
53
54x = [1, 2, 3]
55my_func(x)

Callers 1

item_030.pyFile · 0.70

Calls 1

appendMethod · 0.45

Tested by

no test coverage detected