scanny/python-pptx — pull request #23 by fandingo (2013-07-02 19:56:05+00:00)
Title: Syntax Errors

There were some missing commas with tuples in msoAutoShapeType.py
that caused failures when running 2to3.

Additionally, there were some whitespace inconsistencies that have
been fixed.

I think that it is safe to assume that this code is automatically generated by a tool. I was not able to identify the cause of the missing comma; however, there is a style problem that I identified. Whenever, the last item in the tuple is an blank space (' '), there is no comma preceding it.

For example, note line 163 in the diff. "[...]Octagon, ' ')," is better style than "[...]Octagon,' '),".