Skip to content

Commit 5e6b61b

Browse files
Ward Bradtgsnedders
Ward Bradt
authored andcommitted
fixed some minor grammar in opening comment (#389)
1 parent 786dbf8 commit 5e6b61b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

html5lib/treewalkers/__init__.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
tree, generating tokens identical to those produced by the tokenizer
33
module.
44
5-
To create a tree walker for a new type of tree, you need to do
5+
To create a tree walker for a new type of tree, you need to
66
implement a tree walker object (called TreeWalker by convention) that
7-
implements a 'serialize' method taking a tree as sole argument and
8-
returning an iterator generating tokens.
7+
implements a 'serialize' method which takes a tree as sole argument and
8+
returns an iterator which generates tokens.
99
"""
1010

1111
from __future__ import absolute_import, division, unicode_literals

0 commit comments

Comments
 (0)