Skip to content

Commit

Permalink
remove annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
martindurant committed Dec 7, 2023
1 parent 3e80594 commit b4e7580
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fsspec/implementations/local.py
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,7 @@ def readlines(self, *args, **kwargs):
def close(self):
return self.f.close()

def truncate(self, size: int | None = None) -> int:
def truncate(self, size=None) -> int:
return self.f.truncate(size)

@property
Expand Down

0 comments on commit b4e7580

Please sign in to comment.