Skip to content

Commit 5e6b61b

Browse files
Ward Bradtgsnedders
authored andcommitted
fixed some minor grammar in opening comment (html5lib#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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy