diff options
| author | Mark Dickinson <mdickinson@enthought.com> | 2012-05-06 17:27:39 +0100 |
|---|---|---|
| committer | Mark Dickinson <mdickinson@enthought.com> | 2012-05-06 17:27:39 +0100 |
| commit | 1b2e9444fe9eeaef971d498445ebad7fce27f0b9 (patch) | |
| tree | fe61be4812ea477a37a8a9b5868c61242479c989 /Tools/parser/unparse.py | |
| parent | 9ab3fdd8cbd12a11eeef7bd8e088e4a7717e0eb3 (diff) | |
| download | cpython-git-1b2e9444fe9eeaef971d498445ebad7fce27f0b9.tar.gz | |
Issue #14965: Fix missing support for starred assignments in Tools/parser/unparse.py.
Diffstat (limited to 'Tools/parser/unparse.py')
| -rw-r--r-- | Tools/parser/unparse.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Tools/parser/unparse.py b/Tools/parser/unparse.py index e96ef5477b..d9fca975c5 100644 --- a/Tools/parser/unparse.py +++ b/Tools/parser/unparse.py @@ -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("...") |
