(cls, fname: str, to_dict: bool = False)
| 376 | |
| 377 | @classmethod |
| 378 | def from_txt_file(cls, fname: str, to_dict: bool = False) -> Theorem: |
| 379 | with open(fname, 'r') as f: |
| 380 | theorems = f.read() |
| 381 | return cls.from_string(theorems, to_dict) |
| 382 | |
| 383 | @classmethod |
| 384 | def from_string(cls, string: str, to_dict: bool = False) -> Theorem: |
nothing calls this directly
no test coverage detected