Replace boolean test with is None.
diff --git a/Lib/pstats.py b/Lib/pstats.py
index 126d0be..c5d8c38 100644
--- a/Lib/pstats.py
+++ b/Lib/pstats.py
@@ -506,7 +506,7 @@
         def __init__(self, profile=None):
             cmd.Cmd.__init__(self)
             self.prompt = "% "
-            if profile:
+            if profile is not None:
                 self.stats = Stats(profile)
             else:
                 self.stats = None