MCPcopy Create free account
hub / github.com/Distrotech/reportlab / formatByte

Method formatByte

src/reportlab/lib/codecharts.py:56–60  ·  view source on GitHub ↗
(self, byt)

Source from the content-addressed store, hash-verified

54 self.xlist.append(col * self.boxSize)
55
56 def formatByte(self, byt):
57 if self.hex:
58 return '%02X' % byt
59 else:
60 return '%d' % byt
61
62 def drawChars(self, charList):
63 """Fills boxes in order. None means skip a box.

Callers 1

drawLabelsMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected