MCPcopy Create free account
hub / github.com/theskumar/python-dotenv / advance

Method advance

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

Source from the content-addressed store, hash-verified

51 self.line = other.line
52
53 def advance(self, string: str) -> None:
54 self.chars += len(string)
55 self.line += len(re.findall(_newline, string))
56
57
58class Error(Exception):

Callers 2

readMethod · 0.80
read_regexMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected