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

Method get

recipes/Python/576445_ElementTree_Wrapper/recipe-576445.py:121–122  ·  view source on GitHub ↗
(self,attr, default)

Source from the content-addressed store, hash-verified

119 return self.__content.get(qattr)
120 raise AttributeError("<%s> element does not have attribute %s" % (self.tag, attr))
121 def get(self,attr, default):
122 return self.__content.get(self.__prefix + attr, default)
123 def __setitem__(self,attr,value):
124 assert type(attr) == str and type(value) == str
125 self.__content.set(attr,value)

Callers 7

recurseDirsMethod · 0.45
recurseDirsPathMethod · 0.45
__internalRecursePathMethod · 0.45
getAllFilesMethod · 0.45
__getitem__Method · 0.45
applyMethod · 0.45
imapMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected