MCPcopy Index your code
hub / github.com/python/cpython / width

Method width

Tools/c-analyzer/c_common/tables.py:369–376  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

367
368 @property
369 def width(self):
370 if not self.fmt:
371 return None
372 parsed = _parse_fmt(self.fmt)
373 if not parsed:
374 return None
375 width, _ = parsed
376 return width
377
378 def resolve_width(self, default=None):
379 return _resolve_width(self.width, self.fmt, self.label, default)

Callers

nothing calls this directly

Calls 1

_parse_fmtFunction · 0.85

Tested by

no test coverage detected