Skip to content

Conversation

srittau
Copy link
Collaborator

@srittau srittau commented Sep 18, 2025

Partly addresses #14735

This comment has been minimized.

This comment has been minimized.

Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
Copy link
Contributor

Diff from mypy_primer, showing the effect of this PR on open source code:

sphinx (https://github.com/sphinx-doc/sphinx)
+ sphinx/util/nodes.py: note: In function "nested_parse_with_titles":
+ sphinx/util/nodes.py:409:59: error: Argument 3 to "nested_parse" of "RSTState" has incompatible type "Node"; expected "Element | None"  [arg-type]
+ sphinx/util/nodes.py:410:12: error: Incompatible return value type (got "int", expected "str")  [return-value]
+ sphinx/util/nodes.py: note: At top level:

@srittau srittau merged commit 31630d7 into python:main Sep 22, 2025
48 checks passed
@srittau srittau deleted the docutils-0.22.1 branch September 22, 2025 12:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants