Skip to content

Commit

Permalink
Fix documentation build warnings
Browse files Browse the repository at this point in the history
There were several warnings like this:

    docs/howto.rst.rst:73: WARNING: line number spec is out of range(1-12): '7-13'
  • Loading branch information
twm committed Mar 15, 2020
1 parent 39d9e9a commit bfc1ded
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/howto.rst
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ The ``auth`` argument should be a tuple of the form ``('username', 'password')``

.. literalinclude:: examples/basic_auth.py
:linenos:
:lines: 7-13
:lines: 7-15

Full example: :download:`basic_auth.py <examples/basic_auth.py>`

Expand All @@ -63,7 +63,7 @@ The following will print a 200 OK response.

.. literalinclude:: examples/redirects.py
:linenos:
:lines: 7-13
:lines: 7-12

Full example: :download:`redirects.py <examples/redirects.py>`

Expand All @@ -72,7 +72,7 @@ any of the request methods.

.. literalinclude:: examples/disable_redirects.py
:linenos:
:lines: 7-13
:lines: 7-12

Full example: :download:`disable_redirects.py <examples/disable_redirects.py>`

Expand Down

0 comments on commit bfc1ded

Please sign in to comment.