Skip to content

type_narrowing.rst: fix syntax, consistency#15652

Merged
hauntsaninja merged 1 commit intopython:masterfrom
ikonst:patch-1
Jul 13, 2023
Merged

type_narrowing.rst: fix syntax, consistency#15652
hauntsaninja merged 1 commit intopython:masterfrom
ikonst:patch-1

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