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

Method _cdf_common

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

Source from the content-addressed store, hash-verified

1119 self._cdf_common(attrsD)
1120
1121 def _cdf_common(self, attrsD):
1122 if 'lastmod' in attrsD:
1123 self._start_modified({})
1124 self.elementstack[-1][-1] = attrsD['lastmod']
1125 self._end_modified()
1126 if 'href' in attrsD:
1127 self._start_link({})
1128 self.elementstack[-1][-1] = attrsD['href']
1129 self._end_link()
1130
1131 def _start_feed(self, attrsD):
1132 self.infeed = 1

Callers 2

_start_channelMethod · 0.95
_start_itemMethod · 0.95

Calls 2

_start_linkMethod · 0.95
_end_linkMethod · 0.95

Tested by

no test coverage detected