Consistent code highlighting.

This commit is contained in:
Niko W
2012-05-12 11:16:30 +02:00
parent e23849128c
commit 0c9090878f
+2 -2
View File
@@ -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'