KEMBAR78
type_narrowing.rst: fix syntax, consistency by ikonst · Pull Request #15652 · python/mypy · GitHub
Skip to content

Conversation

ikonst
Copy link
Contributor

@ikonst ikonst commented Jul 13, 2023

No description provided.

TypeGuards as methods
~~~~~~~~~~~~~~~~~~~~~

A method can also serve as the ``TypeGuard``:
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Leading space caused this to be an admonition

@hauntsaninja hauntsaninja merged commit 8a5d8f0 into python:master Jul 13, 2023
@ikonst ikonst deleted the patch-1 branch July 13, 2023 15:55
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