Skip to content

Commit

Permalink
x for abstract file (#1756)
Browse files Browse the repository at this point in the history
  • Loading branch information
martindurant authored Nov 22, 2024
1 parent bbe0591 commit 4a6d573
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fsspec/spec.py
Original file line number Diff line number Diff line change
Expand Up @@ -1740,7 +1740,7 @@ def __init__(

self.kwargs = kwargs

if mode not in {"ab", "rb", "wb"}:
if mode not in {"ab", "rb", "wb", "xb"}:
raise NotImplementedError("File mode not supported")
if mode == "rb":
if size is not None:
Expand Down

0 comments on commit 4a6d573

Please sign in to comment.