Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
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
65
class
Error(Exception):
Callers
2
read
Method · 0.80
read_regex
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected