|
From: | Benjamin Peterson |
Subject: | Re: GOP-PROP 1: python formatting |
Date: | Mon, 6 Jun 2011 20:41:15 +0000 (UTC) |
User-agent: | Loom/3.14 (http://gmane.org/) |
Graham Percival <graham <at> percival-music.ca> writes: > I am not aware of any pretty printers for python code -- remember > that unlike C++ or scheme, indentation in python is the way that > one indicates code blocks. (this makes mixing tabs and spaces > particularly horrible!) This is a useful tool for fixing indentation: http://hg.python.org/cpython/file/ba975c7c33d3/Tools/scripts/reindent.py
[Prev in Thread] | Current Thread | [Next in Thread] |