diff --git a/Doc/library/typing.rst b/Doc/library/typing.rst index c909b8bad6d726..040772efc9d2fc 100644 --- a/Doc/library/typing.rst +++ b/Doc/library/typing.rst @@ -473,6 +473,10 @@ The ``SendType`` and ``ReturnType`` parameters default to :const:`!None`:: yield start start += 1 +.. versionadded:: 3.13 + + Added default :const:`!None` for ``SendType`` and ``ReturnType`` + It is also possible to set these types explicitly:: def infinite_stream(start: int) -> Generator[int, None, None]: