MCPcopy Create free account
hub / github.com/PierreGode/Ragnar / __init__

Method __init__

pager_lib/tqdm/std.py:45–49  ·  view source on GitHub ↗
(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
52class TqdmExperimentalWarning(TqdmWarning, FutureWarning):

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected