jenkins-bot has submitted this change. (
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/710250 )
Change subject: [bugfix] Use dict instead of typing.Dict for subclassing
......................................................................
[bugfix] Use dict instead of typing.Dict for subclassing
Change-Id: I97a6dfd41aaad1bb9cfcbab288b49c228e621bbf
---
M pywikibot/bot.py
1 file changed, 1 insertion(+), 1 deletion(-)
Approvals:
Xqt: Looks good to me, approved
jenkins-bot: Verified
diff --git a/pywikibot/bot.py b/pywikibot/bot.py
index 0ab0c15..bfff4b2 100644
--- a/pywikibot/bot.py
+++ b/pywikibot/bot.py
@@ -1103,7 +1103,7 @@
fallback_prompt='Press Enter when finished in browser.')
-class _OptionDict(Dict[str, Any]):
+class _OptionDict(dict):
"""The option dict which holds the options of OptionHandler.
--
To view, visit
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/710250
To unsubscribe, or for help writing mail filters, visit
https://gerrit.wikimedia.org/r/settings
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Change-Id: I97a6dfd41aaad1bb9cfcbab288b49c228e621bbf
Gerrit-Change-Number: 710250
Gerrit-PatchSet: 1
Gerrit-Owner: Xqt <info(a)gno.de>
Gerrit-Reviewer: Xqt <info(a)gno.de>
Gerrit-Reviewer: jenkins-bot
Gerrit-MessageType: merged