diff --git a/sphinx/writers/latex.py b/sphinx/writers/latex.py index bf2215a51..76ad66aa4 100644 --- a/sphinx/writers/latex.py +++ b/sphinx/writers/latex.py @@ -739,13 +739,6 @@ class LaTeXTranslator(nodes.NodeVisitor): footnode.walkabout(self) self.pending_footnotes = [] - @property - def footnotestack(self): - # type: () -> List[Dict[unicode, List[Union[collected_footnote, bool]]]] - warnings.warn('LaTeXWriter.footnotestack is deprecated.', - RemovedInSphinx30Warning) - return [] - def format_docclass(self, docclass): # type: (unicode) -> unicode """ prepends prefix to sphinx document classes @@ -2566,6 +2559,13 @@ class LaTeXTranslator(nodes.NodeVisitor): # --------- METHODS FOR COMPATIBILITY -------------------------------------- + @property + def footnotestack(self): + # type: () -> List[Dict[unicode, List[Union[collected_footnote, bool]]]] + warnings.warn('LaTeXWriter.footnotestack is deprecated.', + RemovedInSphinx30Warning) + return [] + @property def bibitems(self): # type: () -> List[List[unicode]]