Skip to content

Commit

Permalink
Add required generic type
Browse files Browse the repository at this point in the history
  • Loading branch information
tristanlatr committed Oct 15, 2024
1 parent 41b734b commit eec3ebd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pydoctor/epydoc/markup/restructuredtext.py
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down

0 comments on commit eec3ebd

Please sign in to comment.