Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/python/cpython
/ _ensure
Method
_ensure
Tools/clinic/libclinic/dsl_parser.py:177–179 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
175
self.margin: str | None = None
176
177
def
_ensure(self) -> None:
178
if
not self.indents:
179
fail(
'IndentStack expected indents, but none are defined.'
)
180
181
def
measure(self, line: str) -> int:
182
""
"
Callers
1
measure
Method · 0.95
Calls
1
fail
Function · 0.90
Tested by
no test coverage detected