[Python-checkins] r57894 - sandbox/trunk/2to3/pgen2/grammar.py

collin.winter python-checkins at python.org
Sat Sep 1 23:12:17 CEST 2007


Author: collin.winter
Date: Sat Sep  1 23:12:02 2007
New Revision: 57894

Modified:
   sandbox/trunk/2to3/pgen2/grammar.py
Log:
Have pgen2.grammar use pickle instead of cPickle, which doesn't exist in Python 3.

Modified: sandbox/trunk/2to3/pgen2/grammar.py
==============================================================================
--- sandbox/trunk/2to3/pgen2/grammar.py	(original)
+++ sandbox/trunk/2to3/pgen2/grammar.py	Sat Sep  1 23:12:02 2007
@@ -13,7 +13,7 @@
 """
 
 # Python imports
-import cPickle as pickle
+import pickle
 
 # Local imports
 from pgen2 import token, tokenize


More information about the Python-checkins mailing list