瀏覽代碼

.Text -> .nodes.Text, since .Text can also be .tokens.Text.

tags/v0.1
Ben Kurtovic 12 年之前
父節點
當前提交
777dd7a945
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      mwparserfromhell/wikicode.py

+ 1
- 1
mwparserfromhell/wikicode.py 查看文件

@@ -314,7 +314,7 @@ class Wikicode(StringMixIn):
"""Iterate over text nodes.

This is equivalent to :py:meth:`ifilter` with *forcetype* set to
:py:class:`~.Text`.
:py:class:`~.nodes.Text`.
"""
return self.filter(recursive, matches, flags, forcetype=Text)



Loading…
取消
儲存