mirror of
https://github.com/kennethreitz/requests.git
synced 2026-06-05 22:50:18 +00:00
better docstrings
This commit is contained in:
+2
-4
@@ -145,7 +145,7 @@ class RequestMixin(object):
|
||||
|
||||
|
||||
class Request(object):
|
||||
"""A user-created Request object."""
|
||||
"""A user-created :class:`Request <Request>` object."""
|
||||
def __init__(self,
|
||||
method=None,
|
||||
url=None,
|
||||
@@ -193,9 +193,7 @@ class Request(object):
|
||||
|
||||
|
||||
class PreparedRequest(RequestMixin):
|
||||
"""The :class:`Request <Request>` object. It carries out all functionality
|
||||
of Requests. Recommended interface is with the Requests functions.
|
||||
"""
|
||||
"""The :class:`PreparedRequest <PreparedRequest>` object."""
|
||||
|
||||
def __init__(self):
|
||||
self.method = None
|
||||
|
||||
Reference in New Issue
Block a user