Skip to content

Commit

Permalink
Add one tiny parameter annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
rocky committed Sep 7, 2024
1 parent b0f1563 commit a07df87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mathics_scanner/feed.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ def empty(self) -> bool:
class SingleLineFeeder(LineFeeder):
"A feeder that feeds all the code as a single line."

def __init__(self, code, filename=""):
def __init__(self, code: str, filename=""):
"""
:param code: The source of the feeder (a string).
:param filename: A string that describes the source of the feeder, i.e.
Expand Down

0 comments on commit a07df87

Please sign in to comment.