Skip to content

Commit

Permalink
gh-94538: Fix Argument Clinic output to custom file (#94539)
Browse files Browse the repository at this point in the history
  • Loading branch information
erlend-aasland authored Jul 5, 2022
1 parent 4791a8a commit 2b8ed4d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Fix Argument Clinic output to custom file destinations. Patch by Erlend E.
Aasland.
2 changes: 1 addition & 1 deletion Tools/clinic/clinic.py
Original file line number Diff line number Diff line change
Expand Up @@ -4120,7 +4120,7 @@ def directive_output(self, command_or_name, destination=''):
self.block.output.append('\n')
return

d = self.clinic.get_destination(destination)
d = self.clinic.get_destination_buffer(destination)

if command_or_name == "everything":
for name in list(fd):
Expand Down

0 comments on commit 2b8ed4d

Please sign in to comment.