Commits

andrea_crotti  committed 692f70e

docstring for load_stats

  • Participants
  • Parent commits c3fb4cc
  • Branches pstats

Comments (0)

Files changed (1)

File Lib/pstats.py

             raise
 
     def load_stats(self, arg):
+        """Load the statistic from a filename, or from an object that
+        has the create_stats method, raise TypeError otherwise
+        """
         if arg is None:
             self.stats = {}
             return