summaryrefslogtreecommitdiffstats
path: root/Lib/cmd.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/cmd.py')
-rw-r--r--Lib/cmd.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/cmd.py b/Lib/cmd.py
index 41b2293..7671573 100644
--- a/Lib/cmd.py
+++ b/Lib/cmd.py
@@ -57,7 +57,7 @@ class Cmd:
def cmdloop(self, intro=None):
self.preloop()
- if intro != None:
+ if intro is not None:
self.intro = intro
if self.intro:
print self.intro