Преглед на файлове

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

tags/v0.1
Ben Kurtovic преди 11 години
родител
ревизия
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)



Зареждане…
Отказ
Запис