Returns a textual explanation of the last error or None if there was no error.
(self)
| 161 | return Magic.__tostr(_buffer(self._magic_t, buf, len(buf))) |
| 162 | |
| 163 | def error(self): |
| 164 | """ |
| 165 | Returns a textual explanation of the last error or None |
| 166 | if there was no error. |
| 167 | """ |
| 168 | return Magic.__tostr(_error(self._magic_t)) |
| 169 | |
| 170 | def setflags(self, flags): |
| 171 | """ |