Skip to content

Commit

Permalink
fix: using typing.Tuple
Browse files Browse the repository at this point in the history
  • Loading branch information
aliev committed Jun 18, 2024
1 parent c77e65c commit 9836246
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions aiostd/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import asyncio
import os
from typing import IO, Optional
from typing import IO, Optional, Tuple


async def open_io_stream_reader(
Expand Down Expand Up @@ -67,7 +67,7 @@ async def open_io_stream(
reader: IO,
writer: IO,
loop: Optional[asyncio.AbstractEventLoop] = None,
) -> tuple[asyncio.StreamReader, asyncio.StreamWriter]:
) -> Tuple[asyncio.StreamReader, asyncio.StreamWriter]:
"""
Asynchronously opens both stream reader and writer for the given IO objects.
Expand Down

0 comments on commit 9836246

Please sign in to comment.