Skip to content

Commit 0689a92

Browse files
committed
Fix typos
1 parent eec7acd commit 0689a92

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

webware/HTTPContent.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -219,26 +219,26 @@ def actions(self):
219219
def preAction(self, actionName):
220220
"""Things to do before action.
221221
222-
Invoked by self prior to invoking a action method.
222+
Invoked by self prior to invoking an action method.
223223
The `actionName` is passed to this method,
224224
although it seems a generally bad idea to rely on this.
225225
However, it's still provided just in case you need that hook.
226226
227-
By default this does nothing.
227+
By default, this does nothing.
228228
"""
229229
# base method does nothing
230230

231231
def postAction(self, actionName):
232232
"""Things to do after action.
233233
234-
Invoked by self after invoking a action method.
234+
Invoked by self after invoking an action method.
235235
Subclasses may override to customize and may or may not
236236
invoke super as they see fit.
237237
The `actionName` is passed to this method,
238238
although it seems a generally bad idea to rely on this.
239239
However, it's still provided just in case you need that hook.
240240
241-
By default this does nothing.
241+
By default, this does nothing.
242242
"""
243243
# base method does nothing
244244

webware/HTTPRequest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ def __init__(self, requestDict=None):
111111
# Instead, iterate directly over the items of the internal list.
112112
fieldItems = fieldStorage.list
113113
except AttributeError:
114-
# This can happen if we do not have a a regular POST
114+
# This can happen if we do not have a regular POST
115115
# from an HTML form, but, for example, an XML-RPC request.
116116
fieldItems = None
117117
if debug:

webware/WSGIStreamOut.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ def size(self):
155155
def prepend(self, output):
156156
"""Add the output to the front of the response buffer.
157157
158-
The output may be a byte string or a anything that can be converted
158+
The output may be a byte string or anything that can be converted
159159
to a string and encoded to a byte string using the output encoding.
160160
161161
Invalid if we are already committed.
@@ -205,7 +205,7 @@ def iterable(self):
205205
def write(self, output):
206206
"""Write output to the buffer.
207207
208-
The output may be a byte string or a anything that can be converted
208+
The output may be a byte string or anything that can be converted
209209
to a string and encoded to a byte string using the output encoding.
210210
"""
211211
if self._closed:

0 commit comments

Comments
 (0)