Skip to content

Commit 5c053c7

Browse files
gh-94538: Fix Argument Clinic output to custom file
1 parent 71848c9 commit 5c053c7

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed
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

+1-1
Original file line numberDiff line numberDiff line change
@@ -4120,7 +4120,7 @@ def directive_output(self, command_or_name, destination=''):
41204120
self.block.output.append('\n')
41214121
return
41224122

4123-
d = self.clinic.get_destination(destination)
4123+
d = self.clinic.get_destination_buffer(destination)
41244124

41254125
if command_or_name == "everything":
41264126
for name in list(fd):

0 commit comments

Comments
 (0)