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

Function slots

recipes/Python/578135_Markov_EncryptiModule/recipe-578135.py:9–11  ·  view source on GitHub ↗
(names='')

Source from the content-addressed store, hash-verified

7_CHAOS = random.SystemRandom()
8
9def slots(names=''):
10 sys._getframe(1).f_locals['__slots__'] = \
11 tuple('__' + name for name in names.replace(',', ' ').split())
12
13################################################################################
14

Callers 5

KeyClass · 0.70
PrimerClass · 0.70
_ProcessorClass · 0.70
EncrypterClass · 0.70
DecrypterClass · 0.70

Calls 2

splitMethod · 0.45
replaceMethod · 0.45

Tested by

no test coverage detected