diff options
Diffstat (limited to 'sphinx/writers/html5.py')
-rw-r--r-- | sphinx/writers/html5.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sphinx/writers/html5.py b/sphinx/writers/html5.py index 9f33f5458..3ed72f882 100644 --- a/sphinx/writers/html5.py +++ b/sphinx/writers/html5.py @@ -837,13 +837,13 @@ class HTML5Translator(SphinxTranslator, BaseTranslator): node['ids'].remove(id) @property - def _fieldlist_row_index(self): + def _fieldlist_row_index(self) -> int: warnings.warn('_fieldlist_row_index is deprecated', RemovedInSphinx60Warning, stacklevel=2) return self._fieldlist_row_indices[-1] @property - def _table_row_index(self): + def _table_row_index(self) -> int: warnings.warn('_table_row_index is deprecated', RemovedInSphinx60Warning, stacklevel=2) return self._table_row_indices[-1] |