Skip to content
Prev Previous commit
Next Next commit
Update Lib/typing.py
  • Loading branch information
AlexWaygood authored Jun 5, 2023
commit f96723eab269b8ba5691ed62b3be8eb09f89b50d
4 changes: 3 additions & 1 deletion Lib/typing.py
Original file line number Diff line number Diff line change
Expand Up @@ -566,7 +566,9 @@ def int_or_str(arg: int | str) -> None:

@_SpecialForm
def Self(self, parameters):
"""Used to spell the type of "self" in classes::
"""Used to spell the type of "self" in classes.

Example::

from typing import Self

Expand Down