Skip to content

Commit c6fa5bb

Browse files
committed
Fix a couple more malformed :meth: and :class: links
Change-Id: Ie38844a40ec7a483e6ce5e56077be344242bcd99
1 parent 49ecffb commit c6fa5bb

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

docs/user/authentication.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ If you can't find a good implementation of the form of authentication you
9999
want, you can implement it yourself. Requests makes it easy to add your own
100100
forms of authentication.
101101

102-
To do so, subclass :class:`requests.auth.AuthBase` and implement the
102+
To do so, subclass :class:`AuthBase <requests.auth.AuthBase>` and implement the
103103
``__call__()`` method::
104104

105105
>>> import requests

docs/user/quickstart.rst

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ timeline ::
3232

3333
>>> r = requests.get('https://github.com/timeline.json')
3434

35-
Now, we have a :class:`Response` object called ``r``. We can get all the
36-
information we need from this object.
35+
Now, we have a :class:`Request <requests.Request>` object called ``r``. We can
36+
get all the information we need from this object.
3737

3838
Requests' simple API means that all forms of HTTP request are as obvious. For
3939
example, this is how you make an HTTP POST request::
@@ -286,8 +286,9 @@ reference::
286286
>>> r.status_code == requests.codes.ok
287287
True
288288

289-
If we made a bad request (a 4XX client error or 5XX server error response), we can raise it with
290-
:class:`Response.raise_for_status()`::
289+
If we made a bad request (a 4XX client error or 5XX server error response), we
290+
can raise it with
291+
:meth:`Response.raise_for_status() <requests.Response.raise_for_status>`::
291292

292293
>>> bad_r = requests.get('http://httpbin.org/status/404')
293294
>>> bad_r.status_code

0 commit comments

Comments
 (0)