On 20.03.2011 18:05, s...@pobox.com wrote: > > Ben> Ned Deily <n...@acm.org> writes: > >> As a side note, if you are prone to accidentally adding extra > >> whitespace (like I am), you can add the whitespace check hook into > >> your local copy of Mercurial so that you will be warned about > >> whitespace problems immediately when you commit things to your local > >> repos rather than later when you try to push them up to the > >> python.org repo. > > Ben> Even earlier that the attempt to commit, one can configure the text > Ben> editor to show whitespace in order to be aware of it at the point > Ben> where it's easiest to change: > > ... > > I wasn't aware that TABs were verboten in .rst files. If svn was configured > to reject TABs I simply never stumbled on it with my edits. I did some > searching but found nothing in the dev guide to suggest there were any > restrictions on the whitespace in .rst files. Now that I know, it's not > difficult to avoid.
I probably thought it would be obvious, since reST relies on structural indentation just like Python. I've now added this in "Documenting Python". cheers, Georg _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com