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

Method get

recipes/Python/578908_PythAsciiColor_video/recipe-578908.py:41–55  ·  view source on GitHub ↗
(self, **kwargs)

Source from the content-addressed store, hash-verified

39 }
40
41 def get(self, **kwargs):
42 if method_map[method]['color']:
43 reset=''
44 else:
45 reset=''
46
47 return(
48 Scale('%s[%s%s%s%s' % (
49 reset,
50 method_map[method]['value'],
51 method_map[method]['mode'],
52 self,
53 reset
54 )
55 ))
56
57 if method in method_map:
58 return get.__get__(self)

Callers 15

game_introFunction · 0.45
pauseFunction · 0.45
gameLoopFunction · 0.45
download_torrentFunction · 0.45
aksearchFunction · 0.45
funcFunction · 0.45
count_surroundingFunction · 0.45
display_boardFunction · 0.45
lifeFunction · 0.45
calculate1Function · 0.45
calculate2Function · 0.45
calculate3Function · 0.45

Calls 1

ScaleClass · 0.85

Tested by

no test coverage detected