This website works better with JavaScript.
Home
Help
Sign In
ben
/
mwparserfromhell
mirror of
https://github.com/earwig/mwparserfromhell
Watch
1
Star
1
Fork
0
Code
Releases
24
Activity
Browse Source
document how to get parent of a node
pull/178/head
Larivact
7 years ago
committed by
GitHub
parent
68ded2f890
commit
4b701689c8
1 changed files
with
4 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+4
-0
README.rst
+ 4
- 0
README.rst
View File
@@ -113,6 +113,10 @@ saving the page!) by calling ``str()`` on it::
Likewise, use ``unicode(code)`` in Python 2.
You can get the parent of a node using::
wikicode.get(wikicode.index(node, True))
Caveats
-------
Write
Preview
Loading…
Cancel
Save