Skip to content
Prev Previous commit
Next Next commit
Update Misc/NEWS.d/next/Library/2023-02-04-16-35-46.gh-issue-101561.X…
…o6pIZ.rst

Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
  • Loading branch information
stroxler and AlexWaygood committed Feb 27, 2023
commit afb74de6274ef8fbb3927d7688129c15b87f2c7c
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ Add a new decorator ``typing.override``.

This decorator indicates to static type checkers that they should verify the method overrides an attribute or method of the same name in a base class. This is useful for catching bugs when base class methods are renamed but some children are not updated accordingly.

See :pep:`698` for details.
See :pep:`698` for details. Patch by Steven Troxler.