diff options
| author | wiemann <wiemann@929543f6-e4f2-0310-98a6-ba3bd3dd1d04> | 2005-03-05 18:54:46 +0000 |
|---|---|---|
| committer | wiemann <wiemann@929543f6-e4f2-0310-98a6-ba3bd3dd1d04> | 2005-03-05 18:54:46 +0000 |
| commit | 539eed876ee27f501839644472b072ea26dd39ad (patch) | |
| tree | 7763190a0dd3fa144a3009bfa82155d2ff25cbe4 /docutils | |
| parent | 2097013cc296a08bad50a6b26aac5dc19524b1db (diff) | |
| download | docutils-539eed876ee27f501839644472b072ea26dd39ad.tar.gz | |
changed "cond" to "condition" in next_node call
git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@3020 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
Diffstat (limited to 'docutils')
| -rw-r--r-- | docutils/docutils/transforms/references.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/docutils/docutils/transforms/references.py b/docutils/docutils/transforms/references.py index 2ffbfc9be..e42183634 100644 --- a/docutils/docutils/transforms/references.py +++ b/docutils/docutils/transforms/references.py @@ -37,7 +37,8 @@ class SectionTargets(Transform): """ assert isinstance(target, nodes.target) # Find next node which is not a target. - n = target.next_node(cond=lambda x: not isinstance(x, nodes.target)) + n = target.next_node( + condition=lambda x: not isinstance(x, nodes.target)) if isinstance(n, nodes.section): assert isinstance(n[0], nodes.title) target.parent.remove(target) |
