Skip to content

Commit

Permalink
Update doc/data/messages/u/unnecessary-default-type-args/details.rst
Browse files Browse the repository at this point in the history
Co-authored-by: Jacob Walls <[email protected]>
  • Loading branch information
cdce8p and jacobtylerwalls authored Sep 20, 2024
1 parent ef87e5e commit d0b84f5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ At the moment, this check only works for ``Generator`` and ``AsyncGenerator``.

Starting with Python 3.13, the ``SendType`` and ``ReturnType`` default to ``None``.
As such it's no longer necessary to specify them. The ``collections.abc`` variants
don't validated the number of type arguments. Therefore the defaults for these
don't validate the number of type arguments. Therefore the defaults for these
can be used in earlier versions as well.

0 comments on commit d0b84f5

Please sign in to comment.