Method
__init__
(self, msg, fp_write=None)
Source from the content-addressed store, hash-verified
| 43 | Used for non-external-code-breaking errors, such as garbled printing. |
| 44 | """ |
| 45 | def __init__(self, msg, fp_write=None): # noqa: B042 |
| 46 | if fp_write is not None: |
| 47 | fp_write("\n" + self.__class__.__name__ + ": " + str(msg).rstrip() + '\n') |
| 48 | else: |
| 49 | super().__init__(msg) |
| 50 | |
| 51 | |
| 52 | class TqdmExperimentalWarning(TqdmWarning, FutureWarning): |
Callers
nothing calls this directly
Tested by
no test coverage detected