mirror of
https://github.com/micropython/micropython.git
synced 2025-12-16 09:50:15 +01:00
11 lines
355 B
Python
11 lines
355 B
Python
"""
|
|
categories: Modules,errno
|
|
description: MicroPython does not include ``ENOTSUP`` as a name for errno 95.
|
|
cause: MicroPython does not implement the ``ENOTSUP`` canonical alias for ``EOPNOTSUPP`` added in CPython 3.2.
|
|
workaround: Use ``errno.EOPNOTSUPP`` in place of ``errno.ENOTSUP``.
|
|
"""
|
|
|
|
import errno
|
|
|
|
print(f"{errno.errorcode[errno.EOPNOTSUPP]=!s}")
|