diff options
author | Alex Waygood <Alex.Waygood@Gmail.com> | 2023-07-26 20:11:15 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-26 20:11:15 (GMT) |
commit | f9bcdf2368d25e6c56193c13d49de031ac2ae2e9 (patch) | |
tree | cfcf9e680ca20e59cc0f57caa3c13e501bf4c423 /Tools/clinic | |
parent | e7e6e4b035f51ab4a962b45a957254859f264f4f (diff) | |
download | cpython-f9bcdf2368d25e6c56193c13d49de031ac2ae2e9.zip cpython-f9bcdf2368d25e6c56193c13d49de031ac2ae2e9.tar.gz cpython-f9bcdf2368d25e6c56193c13d49de031ac2ae2e9.tar.bz2 |
gh-104050: Argument clinic: Complete `get_destination_buffer` annotations (#107293)
Diffstat (limited to 'Tools/clinic')
-rwxr-xr-x | Tools/clinic/clinic.py | 4 |
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] |