Skip to content

Commit

Permalink
Removed @override
Browse files Browse the repository at this point in the history
  • Loading branch information
agronholm authored Aug 26, 2023
1 parent d1c20e5 commit 914282c
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/typeguard/_transformer.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,6 @@
from dataclasses import dataclass, field
from typing import Any, ClassVar, cast, overload

from typing_extensions import override

generator_names = (
"typing.Generator",
"collections.abc.Generator",
Expand Down Expand Up @@ -368,7 +366,6 @@ def visit(self, node: AST) -> Any:

return new_node

@override
def generic_visit(self, node: AST) -> AST:
if isinstance(node, expr) and self._memo.name_matches(node, *literal_names):
return node
Expand Down Expand Up @@ -502,7 +499,6 @@ def __init__(
self.target_node: FunctionDef | AsyncFunctionDef | None = None
self.target_lineno = target_lineno

@override
def generic_visit(self, node: AST) -> AST:
non_empty_list_fields = []
for field_name, val in iter_fields(node):
Expand Down

0 comments on commit 914282c

Please sign in to comment.