From 22349ad9b24a2657ca1d13decb14421ea6e77d73 Mon Sep 17 00:00:00 2001 From: Felix Rabe Date: Tue, 3 Nov 2009 17:06:20 +0100 Subject: [PATCH] Doc fix --- xmlmerge.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xmlmerge.py b/xmlmerge.py index 1abfdab..6d0a3d4 100644 --- a/xmlmerge.py +++ b/xmlmerge.py @@ -348,7 +348,7 @@ class XMLPreprocess(object): Internal method to perform substitution of Python expressions within attribute values, {x} -> str(eval(x)). Example: - >>> self._attr_substitution("3 + 5 = {3 + 5} in Python", {}) + >>> self._eval_substitution("3 + 5 = {3 + 5} in Python", {}) '3 + 5 = 8 in Python' Multiple Python expressions in one string are supported as well. -- 2.11.4.GIT