Skip to content

Commit e284468

Browse files
gh-94538: Fix Argument Clinic output to custom file (GH-94539) (GH-94555)
(cherry picked from commit 2b8ed4d) Co-authored-by: Erlend Egeberg Aasland <[email protected]>
1 parent 77bf973 commit e284468

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
Fix Argument Clinic output to custom file destinations. Patch by Erlend E.
2+
Aasland.

Tools/clinic/clinic.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4131,7 +4131,7 @@ def directive_output(self, command_or_name, destination=''):
41314131
self.block.output.append('\n')
41324132
return
41334133

4134-
d = self.clinic.get_destination(destination)
4134+
d = self.clinic.get_destination_buffer(destination)
41354135

41364136
if command_or_name == "everything":
41374137
for name in list(fd):

0 commit comments

Comments
 (0)