2013-10-23 | Paul Boddie | raw files shortlog changelog graph | Fixed single element tuple output. | syspython-as-target |
micropython/report.py (file) |
1.1 --- a/micropython/report.py Tue Oct 22 23:21:38 2013 +0200 1.2 +++ b/micropython/report.py Wed Oct 23 18:15:41 2013 +0200 1.3 @@ -1470,6 +1470,8 @@ 1.4 self.stream.write(", ") 1.5 self.dispatch(n) 1.6 first = False 1.7 + if len(node.nodes) == 1: 1.8 + self.stream.write(", ") 1.9 1.10 def _mapping(self, node): 1.11 first = True