summaryrefslogtreecommitdiff
path: root/docutils
diff options
context:
space:
mode:
authormilde <milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>2017-10-17 12:55:45 +0000
committermilde <milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>2017-10-17 12:55:45 +0000
commit0dd2698e9206bfb40ac22c8a2f7b70b0afe41235 (patch)
treef95b4510211d5ced3b008d96fa4d647f0fdbd657 /docutils
parent24addf5237ab122b3fe9e1400e4bef1cdfa1915c (diff)
downloaddocutils-0dd2698e9206bfb40ac22c8a2f7b70b0afe41235.tar.gz
Fix typo in docstring.
Thanks to Robin Shannon for reporting (bug 337). git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@8185 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
Diffstat (limited to 'docutils')
-rw-r--r--docutils/nodes.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/docutils/nodes.py b/docutils/nodes.py
index 5c349042d..f2833bfd6 100644
--- a/docutils/nodes.py
+++ b/docutils/nodes.py
@@ -785,7 +785,7 @@ class Element(Node):
def copy_attr_consistent(self, attr, value, replace):
"""
- If replace is True or selfpattr] is None, replace self[attr] with
+ If replace is True or self[attr] is None, replace self[attr] with
value. Otherwise, do nothing.
"""
if self.get(attr) is not value: