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
|
# keyword-only arguments
|
||||||
if node.kwonlyargs:
|
if node.kwonlyargs:
|
||||||
for a, d in zip(node.kwonlyargs, node.kw_defaults):
|
for a, d in zip(node.kwonlyargs, node.kw_defaults):
|
||||||
if first:
|
self.write(", ")
|
||||||
first = False
|
self.traverse(a)
|
||||||
else:
|
|
||||||
self.write(", ")
|
|
||||||
self.traverse(a),
|
|
||||||
if d:
|
if d:
|
||||||
self.write("=")
|
self.write("=")
|
||||||
self.traverse(d)
|
self.traverse(d)
|
||||||
|
|
Loading…
Reference in New Issue