MCPcopy
hub / github.com/csev/py4e / get

Method get

code/pagerank/BeautifulSoup.py:576–580  ·  view source on GitHub ↗

Returns the value of the 'key' attribute for the tag, or the value given for 'default' if it doesn't have that attribute.

(self, key, default=None)

Source from the content-addressed store, hash-verified

574 text = property(getText)
575
576 def get(self, key, default=None):
577 """Returns the value of the 'key' attribute for the tag, or
578 the value given for 'default' if it doesn't have that
579 attribute."""
580 return self._getAttrMap().get(key, default)
581
582 def clear(self):
583 """Extract all children."""

Callers 15

mapFunction · 0.45
d3_dispatch_eventFunction · 0.45
d3.v2.jsFile · 0.45
d3_rgb_parseFunction · 0.45
bindFunction · 0.45
d3_transitionFunction · 0.45
scaleFunction · 0.45
d3_svg_lineFunction · 0.45
d3_svg_areaFunction · 0.45
symbolFunction · 0.45
d3_time_parseMonthAbbrevFunction · 0.45
d3_time_parseMonthFunction · 0.45

Calls 1

_getAttrMapMethod · 0.95

Tested by

no test coverage detected