Skip to content

Commit

Permalink
Make drain() coroutine
Browse files Browse the repository at this point in the history
  • Loading branch information
asvetlov committed Dec 20, 2014
1 parent 007a296 commit e71ae1c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions aiozmq/stream.py
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,7 @@ def close(self):
def get_extra_info(self, name, default=None):
return self._transport.get_extra_info(name, default)

@asyncio.coroutine
def drain(self):
"""This method has an unusual return value.
Expand Down

0 comments on commit e71ae1c

Please sign in to comment.