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

Method set

src/dotenv/parser.py:49–51  ·  view source on GitHub ↗
(self, other: "Position")

Source from the content-addressed store, hash-verified

47 return cls(chars=0, line=1)
48
49 def set(self, other: "Position") -> None:
50 self.chars = other.chars
51 self.line = other.line
52
53 def advance(self, string: str) -> None:
54 self.chars += len(string)

Callers 1

set_markMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected