mirror of
https://github.com/python/cpython.git
synced 2025-08-28 20:56:54 +00:00
Issue #14965: Fix missing support for starred assignments in Tools/parser/unparse.py.
This commit is contained in:
parent
9ab3fdd8cb
commit
1b2e9444fe
3 changed files with 17 additions and 0 deletions
|
@ -472,6 +472,10 @@ class Unparser:
|
|||
self.dispatch(t.slice)
|
||||
self.write("]")
|
||||
|
||||
def _Starred(self, t):
|
||||
self.write("*")
|
||||
self.dispatch(t.value)
|
||||
|
||||
# slice
|
||||
def _Ellipsis(self, t):
|
||||
self.write("...")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue