MCPcopy Index your code
hub / github.com/clips/pattern / swap

Method swap

pattern/db/__init__.py:1945–1946  ·  view source on GitHub ↗
(self, i1, i2)

Source from the content-addressed store, hash-verified

1943 self._datasheet.reverse()
1944
1945 def swap(self, i1, i2):
1946 self[i1], self[i2] = self[i2], self[i1]
1947
1948#--- DATASHEET COLUMNS -----------------------------------------------------------------------------
1949

Callers 4

swapMethod · 0.45
test_rowsMethod · 0.45
test_columnsMethod · 0.45
test_fieldsMethod · 0.45

Calls

no outgoing calls

Tested by 3

test_rowsMethod · 0.36
test_columnsMethod · 0.36
test_fieldsMethod · 0.36