mirror of
https://github.com/python/cpython.git
synced 2025-09-27 10:50:04 +00:00
gh-94538: Fix Argument Clinic output to custom file (GH-94539) (GH-94555)
(cherry picked from commit 2b8ed4d3d4
)
Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@protonmail.com>
This commit is contained in:
parent
77bf973930
commit
e28446858f
2 changed files with 3 additions and 1 deletions
|
@ -0,0 +1,2 @@
|
|||
Fix Argument Clinic output to custom file destinations. Patch by Erlend E.
|
||||
Aasland.
|
|
@ -4131,7 +4131,7 @@ class DSLParser:
|
|||
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):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue