8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
get_destination_buffer
1 parent e7e6e4b commit f9bcdf2Copy full SHA for f9bcdf2
Tools/clinic/clinic.py
@@ -2172,7 +2172,7 @@ def __init__(
2172
'impl_definition': d('block'),
2173
}
2174
2175
- DestBufferType = dict[str, Callable[..., Any]]
+ DestBufferType = dict[str, _TextAccumulator]
2176
DestBufferList = list[DestBufferType]
2177
2178
self.destination_buffers_stack: DestBufferList = []
@@ -2226,7 +2226,7 @@ def get_destination_buffer(
2226
self,
2227
name: str,
2228
item: int = 0
2229
- ):
+ ) -> _TextAccumulator:
2230
d = self.get_destination(name)
2231
return d.buffers[item]
2232
0 commit comments