Skip to content

Conversation

@willingc
Copy link
Contributor

@willingc willingc commented Sep 12, 2018

Copy link
Member

@1st1 1st1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! I've left a few nit comments.

loops and should use the :func:`asyncio.run` function to initialize
and run asynchronous code.
Application developers will typically use high-level asyncio functions
to interact with the event loop. In general,high-level asyncio applications
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing a space in general,high-level -> general, high-level

Consider also using the :func:`asyncio.run` function instead of
manually creating and closing an event loop.
Consider also using the :func:`asyncio.run` function instead of using
lower level commands to manually create and close an event loop.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would it make sense to change "commands" to "functions" or "APIs"?

* *family* can be set to either :data:`socket.AF_INET` or
:data:`~socket.AF_INET6` to force the socket to use IPv4 or IPv6.
If not set it will be determined from host name
If not set, it will be determined from host name
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe "If not set, it will be determined" -> "If not set, the family will be determined"?

Copy link
Contributor

@asvetlov asvetlov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice work!

@1st1 1st1 merged commit 5b7cbd6 into python:master Sep 13, 2018
@willingc willingc deleted the polish-event branch September 13, 2018 20:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Documentation in the Doc dir skip news

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants