Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add IOBase to types fcntl will accept as files (#1556)
* Remove unused typing import from stdlib/3/fcntl.pyi * Add IOBase to types fcntl will accept as files Anything that implements a fileno() method is acceptable (per https://github.com/python/cpython/blob/master/Objects/fileobject.c#L168-L173), and IOBase fits the bill. Fixes #1548.
- Loading branch information