Skip to content

Commit a8b764e

Browse files
author
Kenneth Reitz
committed
Merge pull request realpython#147 from okin/master
Consistent syntax highlighting.
2 parents 21d41bb + 0c90908 commit a8b764e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/writing/structure.rst

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

263-
.. code-block:: Python
263+
.. code-block:: python
264264
265265
def foo():
266266
# do something
@@ -307,7 +307,7 @@ Some guidelines help to avoid this issue:
307307

308308
**Bad**
309309

310-
.. code-block:: Python
310+
.. code-block:: python
311311
312312
a = 1
313313
a = 'a string'

0 commit comments

Comments
 (0)