New submission from Michael Lee: This patch documents typing.Text and typing.AnyStr.
I decided against creating a new top-level section to document Text/AnyStr mainly because it seems like how exactly str/bytes/unicode is handled by mypy and described in PEP 484 might be changing sometime in the future and didn't want to add text that would need to be changed later on -- I'm not sure if that was the right call or not. ---------- assignee: docs@python components: Documentation files: document-text-and-anystr.patch keywords: patch messages: 272286 nosy: docs@python, gvanrossum, michael0x2a priority: normal severity: normal status: open title: Document typing.Text and typing.AnyStr versions: Python 3.5, Python 3.6 Added file: http://bugs.python.org/file44062/document-text-and-anystr.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue27723> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com