jenkins-bot has submitted this change. ( 
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/620501 )

Change subject: [cleanup] Remove desupported code2encoding(s)
......................................................................

[cleanup] Remove desupported code2encoding(s)

Change-Id: I6720827511e410a79a953ef48a1ba41e5cba927b
---
M pywikibot/family.py
1 file changed, 0 insertions(+), 11 deletions(-)

Approvals:
  Framawiki: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/pywikibot/family.py b/pywikibot/family.py
index bd08272..afaf5ef 100644
--- a/pywikibot/family.py
+++ b/pywikibot/family.py
@@ -1071,17 +1071,6 @@
         """Return list of historical encodings for a specific language wiki."""
         return (self.encoding(code), )

-    # aliases
-    @deprecated('Site().encoding()', since='20200218', future_warning=True)
-    def code2encoding(self, code):
-        """Return the encoding for a specific language wiki."""
-        return self.encoding(code)
-
-    @deprecated('Site().encodings()', since='20200218', future_warning=True)
-    def code2encodings(self, code):
-        """Return list of historical encodings for a specific language wiki."""
-        return self.encodings(code)
-
     def __eq__(self, other):
         """Compare self with other.


--
To view, visit https://gerrit.wikimedia.org/r/c/pywikibot/core/+/620501
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: I6720827511e410a79a953ef48a1ba41e5cba927b
Gerrit-Change-Number: 620501
Gerrit-PatchSet: 1
Gerrit-Owner: Xqt <[email protected]>
Gerrit-Reviewer: Framawiki <[email protected]>
Gerrit-Reviewer: jenkins-bot
Gerrit-MessageType: merged
_______________________________________________
Pywikibot-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikibot-commits

Reply via email to