summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Lib/cmd.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/cmd.py b/Lib/cmd.py
index bd4e3cb..f0637ed 100644
--- 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