MCPcopy Create free account
hub / github.com/ActiveState/code / _check_major

Function _check_major

recipes/Python/572159_SPICE/recipe-572159.py:292–296  ·  view source on GitHub ↗

Private module function.

(key)

Source from the content-addressed store, hash-verified

290################################################################################
291
292def _check_major(key):
293 'Private module function.'
294 assert isinstance(key, str) and len(key) == 256
295 for character in map(chr, xrange(256)):
296 assert character in key
297
298def _check_minor(key):
299 'Private module function.'

Callers 7

encode_stringFunction · 0.70
decode_stringFunction · 0.70
encode_fileFunction · 0.70
decode_fileFunction · 0.70
__init__Method · 0.70
__init__Method · 0.70
__init__Method · 0.70

Calls 2

mapFunction · 0.85
xrangeClass · 0.85

Tested by

no test coverage detected