Spaces:
Running
Running
Download python_embed/Lib/site-packages/fontTools/feaLib/location.py from Aluode/PerceptionLabPortable: direct link, hf CLI and curl.
- Browser
- Download file 246 Bytes
-
https://huggingface.co/spaces/Aluode/PerceptionLabPortable/resolve/main/python_embed/Lib/site-packages/fontTools/feaLib/location.py
- Command line
-
hf download hf://spaces/Aluode/PerceptionLabPortable/python_embed/Lib/site-packages/fontTools/feaLib/location.py
-
curl -L -o location.py https://huggingface.co/spaces/Aluode/PerceptionLabPortable/resolve/main/python_embed/Lib/site-packages/fontTools/feaLib/location.py
246 Bytes
| from typing import NamedTuple | |
| class FeatureLibLocation(NamedTuple): | |
| """A location in a feature file""" | |
| file: str | |
| line: int | |
| column: int | |
| def __str__(self): | |
| return f"{self.file}:{self.line}:{self.column}" | |