PEP 484: Remove statement about unicode, in the python2.7 section. by matthiaskramm · Pull Request #302 · python/peps
See python/typing#418 (comment). Let's leave it up to type-checkers whether they want `unicode`, in Python 2 code, to mean "only unicode" or "str or unicode".
gvanrossum pushed a commit to python/typeshed that referenced this pull request
Jul 18, 2017This documents, among others, the unicode -> Union[bytes, unicode] promotion that python/peps#302 removes from PEP 484.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters