-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Type-hints: update to pass mypy checks with types-docutils 0.21.0.20240704 #12511
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 5 commits
1b04ddb
ba2abcc
8fc3a85
e2e59bc
4ff9627
3378b0b
7bc74ad
c31b252
3f77102
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -325,7 +325,10 @@ def traverse_translatable_index( | |
| yield node, entries | ||
|
|
||
|
|
||
| def nested_parse_with_titles(state: RSTState, content: StringList, node: Node, | ||
| _RSTContext = TypeVar("_RSTContext") | ||
|
|
||
|
|
||
| def nested_parse_with_titles(state: RSTState[_RSTContext], content: StringList, node: Node, | ||
|
||
| content_offset: int = 0) -> str: | ||
| """Version of state.nested_parse() that allows titles and does not require | ||
| titles to have the same decoration as the calling document. | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.