Skip to content

Commit a43569f

Browse files
committed
Clearer doc
1 parent 0fb7c88 commit a43569f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

seleniumwire/webdriver/request.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ def rewrite_rules(self):
101101
The value of the rewrite rules should be a list of sublists (or tuples)
102102
with each sublist containing the pattern and replacement.
103103
104-
For example:
104+
i.e:
105105
rewrite_rules = [
106106
('pattern', 'replacement'),
107107
('pattern', 'replacement'),
@@ -119,7 +119,7 @@ def rewrite_rules(self):
119119

120120

121121
class Request:
122-
"""An HTTP request made by the browser to the server."""
122+
"""Represents a captured browser request."""
123123

124124
def __init__(self, data, client):
125125
"""Initialises a new Request object with a dictionary of data and a
@@ -164,7 +164,7 @@ def __str__(self):
164164

165165

166166
class Response:
167-
"""An HTTP response returned from the server to the browser."""
167+
"""Represents a captured server response associated with a previous request."""
168168

169169
def __init__(self, request_id, data, client):
170170
"""Initialise a new Response object with a request id, a dictionary

0 commit comments

Comments
 (0)