From 0c9090878fd88f9dd9426a337c0d66c2af2125f2 Mon Sep 17 00:00:00 2001 From: Niko W Date: Sat, 12 May 2012 11:16:30 +0200 Subject: [PATCH] Consistent code highlighting. --- docs/writing/structure.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/writing/structure.rst b/docs/writing/structure.rst index ca07335..462ca12 100644 --- a/docs/writing/structure.rst +++ b/docs/writing/structure.rst @@ -259,7 +259,7 @@ or a method. The 'decorated' function or method will replace the original in Python it can be done 'manually' but using the @decorator syntax is clearer and thus prefered. -.. code-block:: Python +.. code-block:: python def foo(): # do something @@ -306,7 +306,7 @@ Some guidelines allow to avoid this issue: **Bad** -.. code-block:: Python +.. code-block:: python a = 1 a = 'a string'