Skip to content

Commit

Permalink
Rename treewalkers.genshistream to .genshi for consistency
Browse files Browse the repository at this point in the history
  • Loading branch information
gsnedders committed Jul 13, 2016
1 parent 6c30d0b commit 1a61c44
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions html5lib/treewalkers/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
from .. import constants
from ..utils import default_etree

__all__ = ["getTreeWalker", "pprint", "dom", "etree", "genshistream", "lxmletree"]
__all__ = ["getTreeWalker", "pprint", "dom", "etree", "genshi", "lxmletree"]

treeWalkerCache = {}

Expand Down Expand Up @@ -43,8 +43,8 @@ def getTreeWalker(treeType, implementation=None, **kwargs):
from . import dom
treeWalkerCache[treeType] = dom.TreeWalker
elif treeType == "genshi":
from . import genshistream
treeWalkerCache[treeType] = genshistream.TreeWalker
from . import genshi
treeWalkerCache[treeType] = genshi.TreeWalker
elif treeType == "lxml":
from . import lxmletree
treeWalkerCache[treeType] = lxmletree.TreeWalker
Expand Down
File renamed without changes.

0 comments on commit 1a61c44

Please sign in to comment.