Browse Source

lego missed a spot in #91

tags/v0.4
Ben Kurtovic 10 years ago
parent
commit
c9ef040a0f
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      README.rst

+ 1
- 1
README.rst View File

@@ -42,7 +42,7 @@ Normal usage is rather straightforward (where ``text`` is page text)::
>>> wikicode = mwparserfromhell.parse(text) >>> wikicode = mwparserfromhell.parse(text)


``wikicode`` is a ``mwparserfromhell.Wikicode`` object, which acts like an ``wikicode`` is a ``mwparserfromhell.Wikicode`` object, which acts like an
ordinary ``unicode`` object (or ``str`` in Python 3) with some extra methods.
ordinary ``str`` object (or ``unicode`` in Python 2) with some extra methods.
For example:: For example::


>>> text = "I has a template! {{foo|bar|baz|eggs=spam}} See it?" >>> text = "I has a template! {{foo|bar|baz|eggs=spam}} See it?"


Loading…
Cancel
Save