diff options
Diffstat (limited to 'Lib/cmd.py')
-rw-r--r-- | Lib/cmd.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/cmd.py b/Lib/cmd.py index 41b229325a..7671573953 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 |