Fixes #4632
This appears to be used by jedi at least, so it would be great to have stubs for it.
This matches the implementation, even though this behaviour isn't actually documented yet. https://bugs.python.org/issue41147 aims to fix the documentation issue though. Fixes https://github.com/python/typeshed/issues/4283.
* Add type stub for the lzma module * Claim to extend BinaryIO to resolve test failures This doesn't record the true hierarchy of the type, though avoids errors from mypy that 'Argument 1 of "read" incompatible with supertype "BufferedIOBase"'.