unparse: drop python 3.4 remnants (#40333)
This commit is contained in:
parent
9e9653ac58
commit
4ce5d14066
@ -398,21 +398,6 @@ def visit_ClassDef(self, node):
|
||||
else:
|
||||
comma = True
|
||||
self.dispatch(e)
|
||||
if sys.version_info[:2] < (3, 5):
|
||||
if node.starargs:
|
||||
if comma:
|
||||
self.write(", ")
|
||||
else:
|
||||
comma = True
|
||||
self.write("*")
|
||||
self.dispatch(node.starargs)
|
||||
if node.kwargs:
|
||||
if comma:
|
||||
self.write(", ")
|
||||
else:
|
||||
comma = True
|
||||
self.write("**")
|
||||
self.dispatch(node.kwargs)
|
||||
with self.block():
|
||||
self.dispatch(node.body)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user