jenkins-bot has submitted this change. ( 
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1101848?usp=email )

Change subject: cleanup: remove undocumented TODO
......................................................................

cleanup: remove undocumented TODO

Change-Id: If74696c42758c44f0997446b791dfa53c8559443
---
M pywikibot/diff.py
1 file changed, 1 insertion(+), 2 deletions(-)

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




diff --git a/pywikibot/diff.py b/pywikibot/diff.py
index 0d6a85a..182f80f 100644
--- a/pywikibot/diff.py
+++ b/pywikibot/diff.py
@@ -204,8 +204,7 @@

     def __repr__(self) -> str:
         """Return a reconstructable representation."""
-        # TODO
-        return f'{self.__class__.__name__}(a, b, {self.group})'
+        return f'{type(self).__name__}(a, b, {self.group})'


 class _SuperHunk(abc.Sequence):

--
To view, visit 
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1101848?usp=email
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.wikimedia.org/r/settings?usp=email

Gerrit-MessageType: merged
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Change-Id: If74696c42758c44f0997446b791dfa53c8559443
Gerrit-Change-Number: 1101848
Gerrit-PatchSet: 1
Gerrit-Owner: Xqt <i...@gno.de>
Gerrit-Reviewer: Xqt <i...@gno.de>
Gerrit-Reviewer: jenkins-bot
_______________________________________________
Pywikibot-commits mailing list -- pywikibot-commits@lists.wikimedia.org
To unsubscribe send an email to pywikibot-commits-le...@lists.wikimedia.org

Reply via email to