MCPcopy Create free account
hub / github.com/ampproject/amphtml / __init__

Method __init__

validator/validator_gen_js.py:59–62  ·  view source on GitHub ↗

Initializes the indenter with indent 0.

(self, lines)

Source from the content-addressed store, hash-verified

57 """Helper class for indenting lines."""
58
59 def __init__(self, lines):
60 """Initializes the indenter with indent 0."""
61 self.lines = lines
62 self.indent_by_ = [0]
63
64 def PushIndent(self, indent):
65 """Pushes a particular indent onto the stack."""

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected