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

Method _end_height

pattern/web/feed/feedparser.py:1258–1266  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1256 self.push('height', 0)
1257
1258 def _end_height(self):
1259 value = self.pop('height')
1260 try:
1261 value = int(value)
1262 except ValueError:
1263 value = 0
1264 if self.inimage:
1265 context = self._getContext()
1266 context['height'] = value
1267
1268 def _start_url(self, attrsD):
1269 self.push('href', 1)

Callers

nothing calls this directly

Calls 2

popMethod · 0.95
_getContextMethod · 0.95

Tested by

no test coverage detected