summaryrefslogtreecommitdiff
path: root/pyparsing_py3.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyparsing_py3.py')
-rw-r--r--pyparsing_py3.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/pyparsing_py3.py b/pyparsing_py3.py
index 1d62312..d88f142 100644
--- a/pyparsing_py3.py
+++ b/pyparsing_py3.py
@@ -58,8 +58,8 @@ The pyparsing module handles some of the problems that are typically vexing when
- embedded comments
"""
-__version__ = "1.5.4"
-__versionTime__ = "10 Aug 2010 09:19"
+__version__ = "1.5.5"
+__versionTime__ = "12 Aug 2010 03:56"
__author__ = "Paul McGuire <ptmcg@users.sourceforge.net>"
import string
@@ -139,10 +139,10 @@ else:
# build list of single arg builtins, tolerant of Python version, that can be used as parse actions
singleArgBuiltins = []
-import builtin
+import builtins
for fname in "sum len enumerate sorted reversed list tuple set any all".split():
try:
- singleArgBuiltins.append(getattr(builtin,fname))
+ singleArgBuiltins.append(getattr(builtins,fname))
except AttributeError:
continue