summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xTools/clinic/clinic.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Tools/clinic/clinic.py b/Tools/clinic/clinic.py
index f557984..2d804c96 100755
--- a/Tools/clinic/clinic.py
+++ b/Tools/clinic/clinic.py
@@ -2172,7 +2172,7 @@ impl_definition block
'impl_definition': d('block'),
}
- DestBufferType = dict[str, Callable[..., Any]]
+ DestBufferType = dict[str, _TextAccumulator]
DestBufferList = list[DestBufferType]
self.destination_buffers_stack: DestBufferList = []
@@ -2226,7 +2226,7 @@ impl_definition block
self,
name: str,
item: int = 0
- ):
+ ) -> _TextAccumulator:
d = self.get_destination(name)
return d.buffers[item]