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

Method walk

recipes/Python/502268_Win_Registry_module/recipe-502268.py:76–81  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

74 def indented(self):
75 return '%s%s' % (indent*self.level, self.name)
76 def walk(self):
77 # walk thru the subkeys tree
78 for key in self.keys.itervalues():
79 yield key
80 for k in key.walk():
81 yield k
82 def grep(self, text, kv='both', typ=(rTyp['STR'],)):
83 # searching keys and/or values for some text
84 for k in self.walk():

Callers 15

grepMethod · 0.95
grep2Method · 0.95
find_replaceFunction · 0.45
watch_directoriesFunction · 0.45
recipe-300411.pyFile · 0.45
executeMethod · 0.45
_populateMethod · 0.45
recipe-279003.pyFile · 0.45
all_filesFunction · 0.45
recipe-299271.pyFile · 0.45
generate_listFunction · 0.45
engineFunction · 0.45

Calls 1

itervaluesMethod · 0.45

Tested by

no test coverage detected