Create a new Base object with this as the initial state.
(cls)
| 16 | |
| 17 | @classmethod |
| 18 | def new(cls): |
| 19 | """Create a new Base object with this as the initial state.""" |
| 20 | return Base(cls.get_state()) |
| 21 | |
| 22 | @classmethod |
| 23 | def get_state(cls): |
no test coverage detected