diff options
author | Batuhan Taşkaya <47358913+isidentical@users.noreply.github.com> | 2019-12-16 12:26:58 (GMT) |
---|---|---|
committer | Pablo Galindo <Pablogsal@gmail.com> | 2019-12-16 12:26:58 (GMT) |
commit | a322f50c369e2e4138266c88e32ef83af95b2da6 (patch) | |
tree | a9efdf16870c45db525ee2c08cf8ad056b52afc0 /Lib/ast.py | |
parent | 092435e932dee1802784ec28f39454f50fdd879a (diff) | |
download | cpython-a322f50c369e2e4138266c88e32ef83af95b2da6.zip cpython-a322f50c369e2e4138266c88e32ef83af95b2da6.tar.gz cpython-a322f50c369e2e4138266c88e32ef83af95b2da6.tar.bz2 |
bpo-38870: Remove dead code related with argument unparsing (GH-17613)
Diffstat (limited to 'Lib/ast.py')
-rw-r--r-- | Lib/ast.py | 7 |
1 files changed, 2 insertions, 5 deletions
@@ -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) |