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

Function uid

pattern/db/__init__.py:2160–2161  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2158
2159_UID = 0
2160def uid():
2161 global _UID; _UID+=1; return _UID
2162
2163def truncate(string, length=100):
2164 """ Returns a (head, tail)-tuple, where the head string length is less than the given length.

Callers 2

02-datasheet.pyFile · 0.90
parse_xmlFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected