mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-06 12:14:27 +08:00
Yaml loading accepts bytes and unicode, either directly or via IO. For python 3, bytes and str work fine, but for Python 2 code this is redundant and limited. Text instead of str should make type checks more accurate.