On this page
select.error
Up: select | Next: select.kevent
Rel: select.kevent, select.kqueue, select.poll, select.select
Ref: docs.python.org โ select.error
Tags: #public #python3 #stdlib #select
Import
import select
from select import error
Signature & Overview
select.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 select
assert select.error is OSError
Gotchas
- Alias for
OSError: CatchOSErrorin modern Python.
REPL Inspect
from select import error
help(error)
Linked from
Related notes
- tuts/python3/stdlib_module/select/kevent Linked here; links to this page; shared tags: #select, #stdlib
- tuts/python3/stdlib_module/select/kqueue Linked here; links to this page; shared tags: #select, #stdlib
- tuts/python3/stdlib_module/select/poll Linked here; links to this page; shared tags: #select, #stdlib
- tuts/python3/stdlib_module/select/select Linked here; links to this page; shared tags: #select, #stdlib
- tuts/python3/stdlib_module/select 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