Commit 1a2aba0a authored by Jim Fulton's avatar Jim Fulton

Got rid of non-needed and non-portable import of new.

parent d58beaf2
"""Very Safe Python Expressions """Very Safe Python Expressions
""" """
__rcs_id__='$Id: VSEval.py,v 1.8 1997/11/11 18:13:49 jim Exp $' __rcs_id__='$Id: VSEval.py,v 1.9 1997/11/21 16:47:11 jim Exp $'
############################################################################ ############################################################################
# Copyright # Copyright
...@@ -11,10 +11,10 @@ __rcs_id__='$Id: VSEval.py,v 1.8 1997/11/11 18:13:49 jim Exp $' ...@@ -11,10 +11,10 @@ __rcs_id__='$Id: VSEval.py,v 1.8 1997/11/11 18:13:49 jim Exp $'
# rights reserved. # rights reserved.
# #
############################################################################ ############################################################################
__version__='$Revision: 1.8 $'[11:-2] __version__='$Revision: 1.9 $'[11:-2]
from string import join from string import join
import new, sys, gparse import sys, gparse
def default_slicer(env, s, *ind): def default_slicer(env, s, *ind):
l=len(ind) l=len(ind)
...@@ -118,6 +118,9 @@ class Eval: ...@@ -118,6 +118,9 @@ class Eval:
############################################################################ ############################################################################
# #
# $Log: VSEval.py,v $ # $Log: VSEval.py,v $
# Revision 1.9 1997/11/21 16:47:11 jim
# Got rid of non-needed and non-portable import of new.
#
# Revision 1.8 1997/11/11 18:13:49 jim # Revision 1.8 1997/11/11 18:13:49 jim
# updated expr machinery to use parse-tree manipulation # updated expr machinery to use parse-tree manipulation
# #
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment