mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-10 05:51:52 +08:00
* Make pickle accept IO[str] instead of BinaryIO. This makes the following code work: pickle.Unpickler(cStringIO.StringIO()) (Which didn't work before because cStringIO.StringIO inherits "only" from IO[str], not BinaryIO) * Use bytes instead of str.