MCPcopy Create free account
hub / github.com/Distributive-Network/PythonMonkey / increment

Method increment

tests/python/test_arrays.py:1025–1026  ·  view source on GitHub ↗
(self, element, index, array)

Source from the content-addressed store, hash-verified

1023 self.count = 0
1024
1025 def increment(self, element, index, array):
1026 self.count += 1
1027
1028 obj = Counter()
1029 assert obj.count == 0

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected