MCPcopy Index your code
hub / github.com/python/cpython / Location

Class Location

Tools/i18n/pygettext.py:414–419  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

412
413@dataclass(frozen=True)
414class Location:
415 filename: str
416 lineno: int
417
418 def __lt__(self, other):
419 return (self.filename, self.lineno) < (other.filename, other.lineno)
420
421
422@dataclass

Callers 2

add_locationMethod · 0.85
_add_messageMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…