1from typing import NamedTuple 2 3 4class FeatureLibLocation(NamedTuple): 5 """A location in a feature file""" 6 7 file: str 8 line: int 9 column: int 10 11 def __str__(self): 12 return f"{self.file}:{self.line}:{self.column}" 13