[Python-checkins] r65216 - python/trunk/Doc/library/2to3.rst

Benjamin Peterson musiccomposition at gmail.com
Thu Jul 24 14:27:36 CEST 2008


On Thu, Jul 24, 2008 at 2:09 AM, georg.brandl <python-checkins at python.org>
wrote:

> Author: georg.brandl
> Date: Thu Jul 24 09:09:21 2008
> New Revision: 65216
>
> Log:
> Fix indentation.
>
>
> Modified:
>   python/trunk/Doc/library/2to3.rst
>
> Modified: python/trunk/Doc/library/2to3.rst
>
> ==============================================================================
> --- python/trunk/Doc/library/2to3.rst   (original)
> +++ python/trunk/Doc/library/2to3.rst   Thu Jul 24 09:09:21 2008
> @@ -1,4 +1,3 @@
> -
>  .. _2to3-reference:
>
>  2to3 - Automated Python 2 to 3 code translation
> @@ -19,7 +18,7 @@
>  Here is a sample Python 2.x source file, :file:`example.py`::
>
>    def greet(name):
> -      print "Hello, {0}!".format(name)
> +       print "Hello, {0}!".format(name)


So we indent three spaces initially and then 4 after that for literal code
blocks? Could you put that in the doc writing guide?



-- 
Cheers,
Benjamin Peterson
"There's no place like 127.0.0.1."
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-checkins/attachments/20080724/df4406f7/attachment.htm>


More information about the Python-checkins mailing list