File tree Expand file tree Collapse file tree 3 files changed +8
-8
lines changed
Expand file tree Collapse file tree 3 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 11"""Options and Choices for :py:meth:`pywikibot.input_choice`."""
22#
3- # (C) Pywikibot team, 2015-2024
3+ # (C) Pywikibot team, 2015-2025
44#
55# Distributed under the terms of the MIT license.
66#
99import re
1010from abc import ABC , abstractmethod
1111from textwrap import fill
12- from typing import TYPE_CHECKING , Any
12+ from typing import TYPE_CHECKING
1313
1414import pywikibot
1515from pywikibot .backports import Iterable , Mapping , Sequence
3939
4040
4141if TYPE_CHECKING :
42- from typing_extensions import Literal
42+ from typing import Any , Literal
4343
4444 from pywikibot .page import BaseLink , Link , Page
4545
Original file line number Diff line number Diff line change 1212from contextlib import suppress
1313from itertools import islice
1414from textwrap import shorten , wrap
15- from typing import TYPE_CHECKING , Any , NoReturn
15+ from typing import TYPE_CHECKING
1616from urllib .parse import quote_from_bytes
1717from warnings import warn
1818
4646
4747
4848if TYPE_CHECKING :
49- from typing_extensions import Literal
49+ from typing import Any , Literal , NoReturn
5050
5151 from pywikibot .page import Revision
5252
Original file line number Diff line number Diff line change 11"""GeneratorFactory module which handles pagegenerators options."""
22#
3- # (C) Pywikibot team, 2008-2024
3+ # (C) Pywikibot team, 2008-2025
44#
55# Distributed under the terms of the MIT license.
66#
1212from datetime import timedelta
1313from functools import partial
1414from itertools import zip_longest
15- from typing import TYPE_CHECKING , Any
15+ from typing import TYPE_CHECKING
1616
1717import pywikibot
1818from pywikibot import i18n
6262
6363
6464if TYPE_CHECKING :
65- from typing_extensions import Literal
65+ from typing import Any , Literal
6666
6767 from pywikibot .site import BaseSite , Namespace
6868
You can’t perform that action at this time.
0 commit comments