Skip to content

Commit 0bc5da8

Browse files
authored
Correct minor underline build complaints (#219)
* Correct minor underline build complaints * Correct minor underline build complaints, additional file
1 parent 13764ad commit 0bc5da8

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

context_managers.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ Let's see how we can implement our own Context Manager. This should allow
3636
us to understand exactly what's going on behind the scenes.
3737

3838
Implementing a Context Manager as a Class:
39-
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
39+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
4040

4141
At the very least a context manager has an ``__enter__`` and
4242
``__exit__`` method defined. Let's make our own file-opening Context

decorators.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@ Now let's take a look at the areas where decorators really shine and
273273
their usage makes something really easy to manage.
274274

275275
Authorization
276-
~~~~~~~~~~~~
276+
~~~~~~~~~~~~~
277277

278278
Decorators can help to check whether someone is authorized to use an
279279
endpoint in a web application. They are extensively used in Flask web
@@ -296,7 +296,7 @@ authentication:
296296
return decorated
297297
298298
Logging
299-
~~~~~~~~~~~~
299+
~~~~~~~
300300

301301
Logging is another area where the decorators shine. Here is an example:
302302

for_-_else.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
``for/else``
2-
----------
2+
------------
33

44
Loops are an integral part of any language. Likewise ``for`` loops are
55
an important part of Python. However there are a few things which most
@@ -22,7 +22,7 @@ That is the very basic structure of a ``for`` loop. Now let's move on to
2222
some of the lesser known features of ``for`` loops in Python.
2323

2424
``else`` Clause
25-
^^^^^^^^^^^^^^^^^^^^
25+
^^^^^^^^^^^^^^^
2626

2727
``for`` loops also have an ``else`` clause which most of us are unfamiliar
2828
with. The ``else`` clause executes after the loop completes normally.

0 commit comments

Comments
 (0)