mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 04:54:47 +08:00
Starting with Python 3.3, IOError, EnvironmentError and WindowsError are aliases for OSError, which has all the attributes. Reference: * https://docs.python.org/3/library/exceptions.html#OSError * https://www.python.org/dev/peps/pep-3151/ * OSError: Drop Python <3.3 compatibility * Use Any instead of Union for filename/filename2 type, per GvR comment See: https://github.com/python/mypy/pull/4541