Skip to content

Commit

Permalink
Merge pull request sphinx-doc#8968 from tk0miya/fix_typo
Browse files Browse the repository at this point in the history
Fix wrong directive name in warning messages
  • Loading branch information
tk0miya committed Mar 6, 2021
2 parents 3cf7407 + af98b9e commit 0c76c1a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sphinx/directives/patches.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ class CSVTable(tables.CSVTable):
Only for docutils-0.13 or older version."""

def run(self) -> List[Node]:
warnings.warn('RSTTable is deprecated.',
warnings.warn('CSVTable is deprecated.',
RemovedInSphinx60Warning)
return super().run()

Expand All @@ -110,7 +110,7 @@ class ListTable(tables.ListTable):
Only for docutils-0.13 or older version."""

def run(self) -> List[Node]:
warnings.warn('RSTTable is deprecated.',
warnings.warn('ListTable is deprecated.',
RemovedInSphinx60Warning)
return super().run()

Expand Down

0 comments on commit 0c76c1a

Please sign in to comment.