jenkins-bot submitted this change.
[cleanup] Remove deprecated TextEditor.command method (4.1)
Change-Id: Id11c527dbff98de0e93bf626bee8c7cac8249792
---
M pywikibot/editor.py
1 file changed, 0 insertions(+), 6 deletions(-)
diff --git a/pywikibot/editor.py b/pywikibot/editor.py
index 97528fc..dd387b8 100644
--- a/pywikibot/editor.py
+++ b/pywikibot/editor.py
@@ -18,7 +18,6 @@
import pywikibot
from pywikibot import config
-from pywikibot.tools import deprecated
try:
from pywikibot.userinterfaces import gui
@@ -71,11 +70,6 @@
return ' '.join("'{0}'".format(part) if ' ' in part else part
for part in command)
- @deprecated(since='20150111', future_warning=True)
- def command(self, tempFilename, text, jumpIndex=None):
- """Return editor selected in user-config.py."""
- return TextEditor._concat(self._command(tempFilename, text, jumpIndex))
-
def edit(self, text: str, jumpIndex: Optional[int] = None,
highlight: Optional[str] = None) -> Optional[str]:
"""
To view, visit change 635008. To unsubscribe, or for help writing mail filters, visit settings.