Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/writing/structure.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -306,7 +306,7 @@ Some guidelines allow to avoid this issue:

**Bad**

.. code-block:: Python
.. code-block:: python

a = 1
a = 'a string'
Expand Down