提交 8095b6a1 编写于 作者: M michaelowenliu

update manager

上级 2edaf490
......@@ -89,6 +89,5 @@ class ComponentManager:
def __len__(self):
return len(self._components_dict)
def __str__(self):
print_str = "{}({})".format(self.__class__.__name__, self._components_dict)
return print_str
\ No newline at end of file
def __repr__(self):
return "{}:{}".format(self.__class__.__name__, list(self._components_dict.keys()))
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册