mmap.error
Up: mmap | Next: mmap.mmap
Rel: mmap.mmap
Ref: docs.python.org โ mmap.error
Tags: #public #python3 #stdlib #mmap
Import
import mmap
from mmap import error
Signature & Overview
mmap.error(...)
Base class for I/O related errors.
Methods & Attributes
error.add_note(self, note, /)โ Add a note to the exceptionerror.with_traceback(self, tb, /)โ Set self.traceback to tb and return self.
Usage
import mmap
assert mmap.error is OSError
Gotchas
- Alias for
OSError: CatchOSError/ValueErrorwhen mapping files.
REPL Inspect
from mmap import error
help(error)
Linked from
Related notes
- tuts/python3/stdlib_module/mmap/mmap Linked here; links to this page; shared tags: #mmap, #stdlib
- tuts/python3/stdlib_module/mmap links to this page; shared tags: #stdlib
- tuts/c/stdlib shared tags: #stdlib
- tuts/c/stdlib/assert shared tags: #stdlib
- tuts/c/stdlib/assert/assert shared tags: #stdlib
- tuts/c/stdlib/assert/static_assert shared tags: #stdlib
- tuts/c/stdlib/ctype shared tags: #stdlib
- tuts/c/stdlib/ctype/isalpha shared tags: #stdlib
- tuts/c/stdlib/ctype/isdigit shared tags: #stdlib
- tuts/c/stdlib/ctype/isspace shared tags: #stdlib