Skip to content

Commit afd07ce

Browse files
committedAug 11, 2024
chore: Remove override - 3.12 only feature
1 parent 54f11d5 commit afd07ce

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed
 

‎normfn

-3
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ import textwrap
1616
import typing
1717

1818
from typing import Any
19-
from typing import override
2019

2120
assert sys.version_info >= (3, 8)
2221

@@ -43,7 +42,6 @@ def main(argv, syserr_handler: logging.StreamHandler[typing.TextIO | Any]):
4342
logger = logging.getLogger("normfn")
4443

4544
class ArgumentParser(argparse.ArgumentParser):
46-
@override
4745
def error(self, message: str):
4846
parser.print_help()
4947
raise FatalException(message)
@@ -210,7 +208,6 @@ def main(argv, syserr_handler: logging.StreamHandler[typing.TextIO | Any]):
210208
class FilenamesAction(argparse.Action):
211209
# pylint: disable=too-few-public-methods
212210

213-
@override
214211
def __call__(self, parser, args, values, _):
215212
args.filenames = values
216213
if (not args.help) and len(values) < 1:

0 commit comments

Comments
 (0)
Failed to load comments.