Skip to content

Commit

Permalink
One more type annotation correction/improvement
Browse files Browse the repository at this point in the history
  • Loading branch information
rocky committed Oct 29, 2024
1 parent c38d5a5 commit 214993b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mathics_scanner/feed.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"""

from abc import ABCMeta, abstractmethod
from typing import Callable, Optional
from typing import Callable, List, Optional, Tuple


class LineFeeder(metaclass=ABCMeta):
Expand All @@ -20,7 +20,7 @@ def __init__(self, filename: str):
:param filename: A string that describes the source of the feeder, i.e.
the filename that is being feed.
"""
self.messages: list = []
self.messages: List[Tuple[str, str, List[str]]] = []
self.lineno = 0
self.filename = filename

Expand Down

0 comments on commit 214993b

Please sign in to comment.