projects
/
python
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eef2607
)
Duh. cmdqueue should be an instance variable, not a class variable.
author
Guido van Rossum
<guido@python.org>
Mon, 13 Jan 2003 21:18:54 +0000
(21:18 +0000)
committer
Guido van Rossum
<guido@python.org>
Mon, 13 Jan 2003 21:18:54 +0000
(21:18 +0000)
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.
Lib/cmd.py
patch
|
blob
|
history
diff --git
a/Lib/cmd.py
b/Lib/cmd.py
index bd4e3cb06efe5c3c97763dbcff129cec9e5de10f..f0637ed500ef759bccdce3a7dfe7331cbcd385ae 100644
(file)
--- a/
Lib/cmd.py
+++ b/
Lib/cmd.py
@@
-68,7
+68,6
@@
class Cmd:
identchars = IDENTCHARS
ruler = '='
lastcmd = ''
- cmdqueue = []
intro = None
doc_leader = ""
doc_header = "Documented commands (type help <topic>):"
@@
-86,6
+85,7
@@
class Cmd:
automatically.
"""
+ self.cmdqueue = []
if completekey:
try:
import readline