Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

type_narrowing.rst: fix syntax, consistency #15652

Merged
merged 1 commit into from Jul 13, 2023
Merged

Conversation

ikonst
Copy link
Contributor

@ikonst ikonst commented Jul 13, 2023

No description provided.

@@ -293,7 +293,7 @@ Type guard functions can accept extra arguments:
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
2 checks passed
@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.

None yet

2 participants