bpo-38870: Remove dead code related with argument unparsing (GH-17613)
This commit is contained in:
parent
092435e932
commit
a322f50c36
|
@ -1199,11 +1199,8 @@ class _Unparser(NodeVisitor):
|
|||
# keyword-only arguments
|
||||
if node.kwonlyargs:
|
||||
for a, d in zip(node.kwonlyargs, node.kw_defaults):
|
||||
if first:
|
||||
first = False
|
||||
else:
|
||||
self.write(", ")
|
||||
self.traverse(a),
|
||||
self.write(", ")
|
||||
self.traverse(a)
|
||||
if d:
|
||||
self.write("=")
|
||||
self.traverse(d)
|
||||
|
|
Loading…
Reference in New Issue