Skip to content

Commit

Permalink
Merge pull request #128 from sangoma/async-iter-protocol
Browse files Browse the repository at this point in the history
__aiter__ must be a regular function
  • Loading branch information
vodik authored Aug 3, 2018
2 parents 887b8e1 + 935d435 commit 37f0abd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aiosip/dialog.py
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ async def __aenter__(self):
async def __aexit__(self, *exc_info):
await self.close()

async def __aiter__(self):
def __aiter__(self):
return self

async def __anext__(self):
Expand Down

0 comments on commit 37f0abd

Please sign in to comment.