Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ccxt/ccxt
/ _get_width
Method
_get_width
python/ccxt/static_dependencies/lark/lexer.py:102–105 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
100
101
_width = None
102
def
_get_width(self):
103
if
self._width is None:
104
self._width = get_regexp_width(self.to_regexp())
105
return
self._width
106
107
@property
108
def
min_width(self) -> int:
Callers
2
min_width
Method · 0.95
max_width
Method · 0.95
Calls
2
to_regexp
Method · 0.95
get_regexp_width
Function · 0.85
Tested by
no test coverage detected