[docs] [issue29002] typing.AnyStr doc is unclear about python2 unicode support
report at bugs.python.org
Sat Dec 17 20:11:03 EST 2016
Jim Fasarakis-Hilliard added the comment:
The ``typing`` module doesn't exist in Python 2.7.
All code samples provided in the docs *work* since no type-checking is performed by Python. That is, no enforcing of the types provided is made, that's for 3rd party packages to supply.
nosy: +Jim Fasarakis-Hilliard
Python tracker <report at bugs.python.org>
More information about the docs