diff options
Diffstat (limited to 'coverage/types.py')
-rw-r--r-- | coverage/types.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/coverage/types.py b/coverage/types.py index 23c7ef8b..ee5ae010 100644 --- a/coverage/types.py +++ b/coverage/types.py @@ -44,4 +44,7 @@ class TConfigurable(Protocol): """ -TArc = Tuple[int, int] +# Line numbers are pervasive enough that they deserve their own type. +TLineNo = int + +TArc = Tuple[TLineNo, TLineNo] |