String subclass to return character representing empty space.
| 17 | |
| 18 | |
| 19 | class Empty(str): |
| 20 | """String subclass to return character representing empty space.""" |
| 21 | |
| 22 | CHAR = " " |
| 23 | |
| 24 | def __new__(cls) -> str: |
| 25 | return str.__new__(cls, cls.CHAR) |
| 26 | |
| 27 | |
| 28 | class Neuron(str): |