mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-09 05:24:52 +08:00
* Use PEP 604, instead of Optional. * Override FileHandler.stream and setStream to require a TextIOWrapper instead of a SupportsWrite object. * FileHandler._open() now returns a TextIOWrapper instead of IO. Using anything but a file opened in text mode would not work.