MCPcopy Index your code
hub / github.com/clips/pattern / _start_admin_generatoragent

Method _start_admin_generatoragent

pattern/web/feed/feedparser.py:1640–1646  ·  view source on GitHub ↗
(self, attrsD)

Source from the content-addressed store, hash-verified

1638 context['generator_detail']['name'] = value
1639
1640 def _start_admin_generatoragent(self, attrsD):
1641 self.push('generator', 1)
1642 value = self._getAttribute(attrsD, 'rdf:resource')
1643 if value:
1644 self.elementstack[-1][2].append(value)
1645 self.pop('generator')
1646 self._getContext()['generator_detail'] = FeedParserDict({'href': value})
1647
1648 def _start_admin_errorreportsto(self, attrsD):
1649 self.push('errorreportsto', 1)

Callers

nothing calls this directly

Calls 6

pushMethod · 0.95
_getAttributeMethod · 0.95
popMethod · 0.95
_getContextMethod · 0.95
FeedParserDictClass · 0.85
appendMethod · 0.45

Tested by

no test coverage detected