Skip to content

Commit

Permalink
fix fomatter conflict with unasync
Browse files Browse the repository at this point in the history
  • Loading branch information
T-256 authored and T-256 committed Mar 1, 2024
1 parent 1a5576c commit 2fbd8d9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion httpcore/_async/http2.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ def __init__(
# Connection terminated events are stored as state since
# we need to handle them for all streams.
self._connection_terminated: typing.Optional[h2.events.ConnectionTerminated] = (
None
None,
)

self._read_exception: typing.Optional[Exception] = None
Expand Down
6 changes: 3 additions & 3 deletions httpcore/_sync/http2.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,9 @@ def __init__(

# Connection terminated events are stored as state since
# we need to handle them for all streams.
self._connection_terminated: typing.Optional[
h2.events.ConnectionTerminated
] = None
self._connection_terminated: typing.Optional[h2.events.ConnectionTerminated] = (
None,
)

self._read_exception: typing.Optional[Exception] = None
self._write_exception: typing.Optional[Exception] = None
Expand Down

0 comments on commit 2fbd8d9

Please sign in to comment.