mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-05-05 21:14:00 +08:00
02bd2bdf69
* 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.