Skip to content

Commit

Permalink
cleanup: remove undocumented TODO
Browse files Browse the repository at this point in the history
Change-Id: If74696c42758c44f0997446b791dfa53c8559443
  • Loading branch information
xqt committed Dec 10, 2024
1 parent 7b5a185 commit 56a7065
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pywikibot/diff.py
Original file line number Diff line number Diff line change
Expand Up @@ -204,8 +204,7 @@ def __str__(self) -> str:

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):
Expand Down

0 comments on commit 56a7065

Please sign in to comment.