MCPcopy
hub / github.com/pyload/pyload / _end_width

Method _end_width

module/lib/feedparser.py:1182–1190  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1180 self.push('width', 0)
1181
1182 def _end_width(self):
1183 value = self.pop('width')
1184 try:
1185 value = int(value)
1186 except:
1187 value = 0
1188 if self.inimage:
1189 context = self._getContext()
1190 context['width'] = value
1191
1192 def _start_height(self, attrsD):
1193 self.push('height', 0)

Callers

nothing calls this directly

Calls 2

popMethod · 0.95
_getContextMethod · 0.95

Tested by

no test coverage detected