typeshed
typeshed copied to clipboard
Fix type of `transform` argument of `docutils.nodes.pending.__init__`
The documentation says:
self.transform = transform
"""The `docutils.transforms.Transform` class implementing the pending
operation."""
According to mypy_primer, this change has no effect on the checked open source code. 🤖🎉
Diff from mypy_primer, showing the effect of this PR on open source code:
alectryon (https://github.com/cpitclaudel/alectryon)
+ alectryon/docutils.py:206: error: "type[Transform]" has no attribute "is_post_transform" [attr-defined]