[pypy-svn] r10078 - pypy/dist/pypy/module/parser

hpk at codespeak.net hpk at codespeak.net
Tue Mar 22 19:41:39 CET 2005


Author: hpk
Date: Tue Mar 22 19:41:39 2005
New Revision: 10078

Modified:
   pypy/dist/pypy/module/parser/pyparser.py
Log:
remove exceptions import 


Modified: pypy/dist/pypy/module/parser/pyparser.py
==============================================================================
--- pypy/dist/pypy/module/parser/pyparser.py	(original)
+++ pypy/dist/pypy/module/parser/pyparser.py	Tue Mar 22 19:41:39 2005
@@ -9,7 +9,7 @@
 # ______________________________________________________________________
 # Module imports
 
-import token, exceptions, compiler
+import token, compiler
 import PyTokenizer, PyGrammar, DFAParser
 
 # ______________________________________________________________________
@@ -22,7 +22,7 @@
 # ______________________________________________________________________
 # ParserError exception
 
-class ParserError (exceptions.Exception):
+class ParserError (Exception):
     """Class ParserError
     Exception class for parser errors (I assume).
     """



More information about the Pypy-commit mailing list