jenkins-bot submitted this change.
[typing] plural.py: import Dict from backports
Change-Id: I770895d915c7dcaef804b528db8e60f439418de2
---
M pywikibot/plural.py
1 file changed, 2 insertions(+), 7 deletions(-)
diff --git a/pywikibot/plural.py b/pywikibot/plural.py
index aebde6a..a53f469 100644
--- a/pywikibot/plural.py
+++ b/pywikibot/plural.py
@@ -1,17 +1,12 @@
"""Module containing plural rules of various languages."""
#
-# (C) Pywikibot team, 2011-2020
+# (C) Pywikibot team, 2011-2021
#
# Distributed under the terms of the MIT license.
#
-import sys
from typing import Callable, Union
-
-if sys.version_info[:2] >= (3, 9):
- Dict = dict
-else:
- from typing import Dict
+from pywikibot.backports import Dict
PluralRule = Dict[str, Union[int, Callable]]
To view, visit change 684119. To unsubscribe, or for help writing mail filters, visit settings.