bpo-38870: Remove dead code related with argument unparsing (GH-17613)

This commit is contained in:
Batuhan Taşkaya 2019-12-16 15:26:58 +03:00 committed by Pablo Galindo
parent 092435e932
commit a322f50c36

View File

@ -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)