Skip to content

Commit

Permalink
fix type hints for python 3.6
Browse files Browse the repository at this point in the history
  • Loading branch information
derlih committed Oct 25, 2020
1 parent b445f74 commit 26cbe25
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion aiohttp/http_writer.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@


_T_OnChunkSent = Optional[Callable[[bytes], Awaitable[None]]]
_T_OnHeadersSent = Optional[Callable[[CIMultiDict[str]], Awaitable[None]]]
_Headers = "CIMultiDict[str]"
_T_OnHeadersSent = Optional[Callable[[_Headers], Awaitable[None]]]


class StreamWriter(AbstractStreamWriter):
Expand Down

0 comments on commit 26cbe25

Please sign in to comment.