Skip to content

Commit

Permalink
Attempt to fix 3.5 compat
Browse files Browse the repository at this point in the history
  • Loading branch information
njsmith committed Jun 25, 2019
1 parent ee4cedb commit aab5fe3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions trio/_abc.py
Original file line number Diff line number Diff line change
Expand Up @@ -413,6 +413,7 @@ async def receive_some(self, max_bytes=None):
"""

@aiter_compat
def __aiter__(self):
return self

Expand Down
4 changes: 2 additions & 2 deletions trio/_ssl.py
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ def __init__(
server_hostname=None,
server_side=False,
https_compatible=False,
max_refill_bytes="unused and deprecated",
max_refill_bytes="unused and deprecated"
):
self.transport_stream = transport_stream
self._state = _State.OK
Expand Down Expand Up @@ -850,7 +850,7 @@ def __init__(
ssl_context,
*,
https_compatible=False,
max_refill_bytes="unused and deprecated",
max_refill_bytes="unused and deprecated"
):
if max_refill_bytes != "unused and deprecated":
warn_deprecated(
Expand Down

0 comments on commit aab5fe3

Please sign in to comment.