Skip to content

docs/more_types: Fix typo in advanced self-types#8006

Merged
ilevkivskyi merged 2 commits into
python:masterfrom
suutari:docs-more-types-typo-fix
Nov 25, 2019
Merged

docs/more_types: Fix typo in advanced self-types#8006
ilevkivskyi merged 2 commits into
python:masterfrom
suutari:docs-more-types-typo-fix

Conversation

@suutari

@suutari suutari commented Nov 25, 2019

Copy link
Copy Markdown
Contributor

The type of self should be Tag[str] here.

The type of self should be `Tag[str]` here.
@suutari

suutari commented Nov 25, 2019

Copy link
Copy Markdown
Contributor Author

@ilevkivskyi Thanks for the improvements to self typing in #7860! I'm quite excited about this.

Noticed this small typo however while I was reading the added documentation.

The `export` methods seems to actually return an `str` instead of `T`
even when a converter is given.
@suutari

suutari commented Nov 25, 2019

Copy link
Copy Markdown
Contributor Author

I found another typo in docs. Added another commit to fix that one too.

@ilevkivskyi ilevkivskyi left a comment

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.

Oops... Thanks for the fixes!

@ilevkivskyi ilevkivskyi merged commit 2af0ac0 into python:master Nov 25, 2019
@suutari suutari deleted the docs-more-types-typo-fix branch November 25, 2019 19:37
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.

2 participants