From eec3ebd1419fedaef0213107b85374e269f8b9cb Mon Sep 17 00:00:00 2001 From: tristanlatr Date: Tue, 15 Oct 2024 19:49:05 -0400 Subject: [PATCH] Add required generic type --- pydoctor/epydoc/markup/restructuredtext.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pydoctor/epydoc/markup/restructuredtext.py b/pydoctor/epydoc/markup/restructuredtext.py index 36e2cf796..efe4c7f9a 100644 --- a/pydoctor/epydoc/markup/restructuredtext.py +++ b/pydoctor/epydoc/markup/restructuredtext.py @@ -190,7 +190,7 @@ def report(self, error: nodes.system_message) -> None: self._errors.append(ParseError(msg, linenum, is_fatal)) -class _DocumentPseudoWriter(Writer): +class _DocumentPseudoWriter(Writer[str]): """ A pseudo-writer for the docutils framework, that can be used to access the document itself. The output of C{_DocumentPseudoWriter}