Skip to content

Commit 0c90908

Browse files
committed
Consistent code highlighting.
1 parent e238491 commit 0c90908

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

docs/writing/structure.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ or a method. The 'decorated' function or method will replace the original
259259
in Python it can be done 'manually' but using the @decorator syntax is
260260
clearer and thus prefered.
261261

262-
.. code-block:: Python
262+
.. code-block:: python
263263
264264
def foo():
265265
# do something
@@ -306,7 +306,7 @@ Some guidelines allow to avoid this issue:
306306

307307
**Bad**
308308

309-
.. code-block:: Python
309+
.. code-block:: python
310310
311311
a = 1
312312
a = 'a string'

0 commit comments

Comments
 (0)