summaryrefslogtreecommitdiff
path: root/prolog
diff options
context:
space:
mode:
Diffstat (limited to 'prolog')
-rw-r--r--prolog/util.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/prolog/util.py b/prolog/util.py
index 4b316d5..11a6f94 100644
--- a/prolog/util.py
+++ b/prolog/util.py
@@ -126,7 +126,7 @@ def rename_vars_list(tokens, names=None):
# Rename variables in AST rooted at [root] to A0, A1, A2,… in order of
# appearance.
-def rename_vars_ast2(root, fixed_names=None):
+def rename_vars_ast(root, fixed_names=None):
if fixed_names is None:
fixed_names = {}
names = {}