From d38ded52b68e90fca717657fcebb7f50d40ac46b Mon Sep 17 00:00:00 2001 From: Ward Bradt Date: Sat, 20 Jan 2018 12:18:19 -0500 Subject: [PATCH] fixed some minor grammar in opening comment --- html5lib/treewalkers/__init__.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/html5lib/treewalkers/__init__.py b/html5lib/treewalkers/__init__.py index 9bec2076..b2d3aac3 100644 --- a/html5lib/treewalkers/__init__.py +++ b/html5lib/treewalkers/__init__.py @@ -2,10 +2,10 @@ tree, generating tokens identical to those produced by the tokenizer module. -To create a tree walker for a new type of tree, you need to do +To create a tree walker for a new type of tree, you need to implement a tree walker object (called TreeWalker by convention) that -implements a 'serialize' method taking a tree as sole argument and -returning an iterator generating tokens. +implements a 'serialize' method which takes a tree as sole argument and +returns an iterator which generates tokens. """ from __future__ import absolute_import, division, unicode_literals