Base class for errors in the bitstring module.
Definition at line 91 of file bitstring.py.
◆ __init__()
def __init__ |
( |
|
self, |
|
|
* |
params |
|
) |
| |
Definition at line 94 of file bitstring.py.
94 def __init__(self, *params):
95 self.msg = params[0] if params else ''
96 self.params = params[1:]
97
◆ __str__()
Definition at line 98 of file bitstring.py.
98 def __str__(self):
99 if self.params:
100 return self.msg.format(*self.params)
101 return self.msg
102
103
◆ msg
◆ params
The documentation for this class was generated from the following file: