MCPcopy Index your code
hub / github.com/theskumar/python-dotenv / advance

Method advance

src/dotenv/parser.py:60–62  ·  view source on GitHub ↗
(self, string: str)

Source from the content-addressed store, hash-verified

58 self.line = other.line
59
60 def advance(self, string: str) -> None:
61 self.chars += len(string)
62 self.line += len(re.findall(_newline, string))
63
64
65class Error(Exception):

Callers 2

readMethod · 0.80
read_regexMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected