[docs] [issue27723] Document typing.Text and typing.AnyStr

Ivan Levkivskyi report at bugs.python.org
Sun Aug 14 17:12:05 EDT 2016


Ivan Levkivskyi added the comment:

Thank you for the patch, Michael!
I could add a comment that probably it is better to mention the definition of AnyStr = TypeVar('AnyStr', str, bytes) at beginning and only then go with examples.

----------
nosy: +levkivskyi

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue27723>
_______________________________________


More information about the docs mailing list