Skip to content

Commit

Permalink
fix: Switch import location
Browse files Browse the repository at this point in the history
In Python 3.9, `typing.Sequence` was deprecated in favor of
`collections.abc.Sequence` (see PEP 585).
  • Loading branch information
jmgate committed Dec 17, 2024
1 parent 8f5df54 commit 7948fc2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion reverse_argparse/reverse_argparse.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

import re
from argparse import SUPPRESS, Action, ArgumentParser, Namespace
from typing import Sequence
from collections.abc import Sequence


SHORT_OPTION_LENGTH = 2
Expand Down

0 comments on commit 7948fc2

Please sign in to comment.