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

gh-105286: Improve typing.py docstrings #105287

Merged
merged 12 commits into from
Jun 5, 2023
Prev Previous commit
Next Next commit
Fix first line of NoReturn docstring
  • Loading branch information
AlexWaygood committed Jun 5, 2023
commit ab3e62702533500851f99447fe70b7c9809cf2bb
4 changes: 3 additions & 1 deletion Lib/typing.py
Original file line number Diff line number Diff line change
Expand Up @@ -526,7 +526,9 @@ def __new__(cls, *args, **kwargs):

@_SpecialForm
def NoReturn(self, parameters):
"""Special type indicating functions that never return::
"""Special type indicating functions that never return.

Example::

from typing import NoReturn

Expand Down