[Python-checkins] python/dist/src/Lib cmd.py,1.32,1.33
gvanrossum@users.sourceforge.net
gvanrossum@users.sourceforge.net
2003年1月13日 13:19:02 -0800
Update of /cvsroot/python/python/dist/src/Lib
In directory sc8-pr-cvs1:/tmp/cvs-serv856
Modified Files:
cmd.py
Log Message:
Duh. cmdqueue should be an instance variable, not a class variable.
This was introduced in 1998 in rev. 1.13, where I imported extensive
patches that, I am sad to say, I didn't review as carefully as I
should have.
Index: cmd.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/cmd.py,v
retrieving revision 1.32
retrieving revision 1.33
diff -C2 -d -r1.32 -r1.33
*** cmd.py 2 Dec 2002 13:08:53 -0000 1.32
--- cmd.py 13 Jan 2003 21:18:54 -0000 1.33
***************
*** 69,73 ****
ruler = '='
lastcmd = ''
- cmdqueue = []
intro = None
doc_leader = ""
--- 69,72 ----
***************
*** 87,90 ****
--- 86,90 ----
"""
+ self.cmdqueue = []
if completekey:
try: