Skip to content

Commit

Permalink
Merge branch 'main' into versioned-data
Browse files Browse the repository at this point in the history
  • Loading branch information
cthoyt committed Nov 15, 2024
2 parents 73c9fc7 + fd7de90 commit ff35bbc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pystow/impl.py
Original file line number Diff line number Diff line change
Expand Up @@ -755,7 +755,7 @@ def ensure_open_gz(
download_kwargs: Optional[Mapping[str, Any]],
mode: Literal["r", "w", "rt", "wt"] = ...,
open_kwargs: Optional[Mapping[str, Any]],
) -> Generator[Union[StringIO, BytesIO], None, None]: ...
) -> Generator[StringIO, None, None]: ...

# docstr-coverage:excused `overload`
@overload
Expand All @@ -772,7 +772,7 @@ def ensure_open_gz(
"wb",
] = ...,
open_kwargs: Optional[Mapping[str, Any]],
) -> Generator[Union[StringIO, BytesIO], None, None]: ...
) -> Generator[BytesIO, None, None]: ...

@contextmanager
def ensure_open_gz(
Expand Down

0 comments on commit ff35bbc

Please sign in to comment.