From e9dcf3b3b1d6914ad7081995503789c7cbcffc0b Mon Sep 17 00:00:00 2001 From: Peng Tan Date: Wed, 12 Apr 2023 00:09:34 +0800 Subject: [PATCH] [MNT] modify the __repr__ func of Specification --- learnware/specification/base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/learnware/specification/base.py b/learnware/specification/base.py index 449cfd3..70a897e 100644 --- a/learnware/specification/base.py +++ b/learnware/specification/base.py @@ -27,7 +27,7 @@ class Specification: self.stat_spec = {} if stat_spec is None else stat_spec def __repr__(self) -> str: - return "{}(Semantic Spec: {}, {})".format( + return "{}(Semantic Specification: {}, Statistical Specification: {})".format( type(self).__name__, type(self.semantic_spec).__name__, self.stat_spec )