diff -r d089b8fb0f56 Lib/pstats.py --- a/Lib/pstats.py Mon Oct 22 15:13:01 2012 -0700 +++ b/Lib/pstats.py Tue Oct 23 15:49:20 2012 +0400 @@ -120,7 +120,7 @@ self.stats = arg.stats arg.stats = {} if not self.stats: - raise TypeError, "Cannot create or construct a %r object from '%r''" % ( + raise TypeError, "Cannot create or construct a %r object from '%r'" % ( self.__class__, arg) return