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