Skip to content

bpo-33421: Add AsyncContextManager to typing module documentation (Python 3.6).#6823

Merged
ilevkivskyi merged 1 commit intopython:3.6from
twavv:3.6
May 15, 2018
Merged

bpo-33421: Add AsyncContextManager to typing module documentation (Python 3.6).#6823
ilevkivskyi merged 1 commit intopython:3.6from
twavv:3.6

Conversation

@twavv
Copy link
Copy Markdown
Contributor

@twavv twavv commented May 14, 2018

Adds documention for typing.AsyncContextManager for Python 3.6.
See #6700.

@ilevkivskyi

https://bugs.python.org/issue33421

Copy link
Copy Markdown
Member

@ilevkivskyi ilevkivskyi left a comment

Choose a reason for hiding this comment

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

Thanks! Only one comment.

Comment thread Doc/library/typing.rst Outdated
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I would make this :meth:``__aenter__`` etc.

@twavv
Copy link
Copy Markdown
Contributor Author

twavv commented May 14, 2018

Fixed!

Comment thread Doc/library/typing.rst Outdated
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Sorry for giving you a wrong advice, it actually should be :meth:`__aiter__` (single backticks). You can also try make html and check that they are rendered correctly in docs.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Should have caught it myself. Fixed it and built it and works as expected. 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants