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

Method _end_width

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

Source from the content-addressed store, hash-verified

1243 self.push('width', 0)
1244
1245 def _end_width(self):
1246 value = self.pop('width')
1247 try:
1248 value = int(value)
1249 except ValueError:
1250 value = 0
1251 if self.inimage:
1252 context = self._getContext()
1253 context['width'] = value
1254
1255 def _start_height(self, attrsD):
1256 self.push('height', 0)

Callers

nothing calls this directly

Calls 2

popMethod · 0.95
_getContextMethod · 0.95

Tested by

no test coverage detected