mirror of
https://github.com/AdaCore/cpython.git
synced 2026-02-12 12:57:15 -08:00
#16303: remove extra quotes from exception and add (). Initial patch by Vladimir Rutsky.
This commit is contained in:
@@ -120,8 +120,8 @@ class Stats:
|
||||
self.stats = arg.stats
|
||||
arg.stats = {}
|
||||
if not self.stats:
|
||||
raise TypeError, "Cannot create or construct a %r object from '%r''" % (
|
||||
self.__class__, arg)
|
||||
raise TypeError("Cannot create or construct a %r object from %r"
|
||||
% (self.__class__, arg))
|
||||
return
|
||||
|
||||
def get_top_level_stats(self):
|
||||
|
||||
Reference in New Issue
Block a user