瀏覽代碼

document how to get parent of a node

pull/178/head
Larivact 7 年之前
committed by GitHub
父節點
當前提交
4b701689c8
共有 1 個檔案被更改,包括 4 行新增0 行删除
  1. +4
    -0
      README.rst

+ 4
- 0
README.rst 查看文件

@@ -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
-------



Loading…
取消
儲存