[Mesa-dev] [PATCH] glapi: Reformat python code generation scripts to use 4-space indentation.

Chad Versace chad.versace at linux.intel.com
Wed Oct 10 12:31:33 PDT 2012


On 10/10/2012 07:55 AM, Paul Berry wrote:
> This brings us into accordance with the official Python style guide
> (http://www.python.org/dev/peps/pep-0008/#indentation).
> 
> To preserve the indentation of the c code that is generated by these
> scripts, I've avoided re-indenting triple-quoted strings (unless those
> strings appear to be docstrings).
> ---

As far I'm concerned, all Python code should follow the PEP8 whitespace guidelines.

Acked-by: Chad Versace <chad.versace at linux.intel.com>



More information about the mesa-dev mailing list