MCPcopy Create free account
hub / github.com/TabViewer/tabview / _is_num

Method _is_num

tabview/tabview.py:121–126  ·  view source on GitHub ↗
(self, cell)

Source from the content-addressed store, hash-verified

119 pass
120
121 def _is_num(self, cell):
122 try:
123 float(cell)
124 return True
125 except ValueError:
126 return False
127
128 def _init_double_width(self, dw):
129 """Initialize self._cell_len to determine if double width characters

Callers 1

__init__Method · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected