diff --git a/dygraph/cvlibs/manager.py b/dygraph/cvlibs/manager.py index c76fde4130ae582f6417470cfe36c36d52b9a8b1..48a9ec813cf200c305da04976d755ad3169d7887 100644 --- a/dygraph/cvlibs/manager.py +++ b/dygraph/cvlibs/manager.py @@ -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