Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit f9bcdf2

Browse filesBrowse files
authored
gh-104050: Argument clinic: Complete get_destination_buffer annotations (#107293)
1 parent e7e6e4b commit f9bcdf2
Copy full SHA for f9bcdf2

File tree

Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed

‎Tools/clinic/clinic.py

Copy file name to clipboardExpand all lines: Tools/clinic/clinic.py
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2172,7 +2172,7 @@ def __init__(
21722172
'impl_definition': d('block'),
21732173
}
21742174

2175-
DestBufferType = dict[str, Callable[..., Any]]
2175+
DestBufferType = dict[str, _TextAccumulator]
21762176
DestBufferList = list[DestBufferType]
21772177

21782178
self.destination_buffers_stack: DestBufferList = []
@@ -2226,7 +2226,7 @@ def get_destination_buffer(
22262226
self,
22272227
name: str,
22282228
item: int = 0
2229-
):
2229+
) -> _TextAccumulator:
22302230
d = self.get_destination(name)
22312231
return d.buffers[item]
22322232

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.