str: the string of the module
(self)
| 94 | return object.__repr__(self) |
| 95 | |
| 96 | def __str__(self): |
| 97 | """str: the string of the module""" |
| 98 | try: |
| 99 | classname = self.__class__.__name__ |
| 100 | nice = self.__nice__() |
| 101 | return f'<{classname}({nice})>' |
| 102 | except NotImplementedError as ex: |
| 103 | warnings.warn(str(ex), category=RuntimeWarning) |
| 104 | return object.__repr__(self) |
no test coverage detected