[issue27723] Document typing.Text and typing.AnyStr

Michael Lee report at bugs.python.org
Tue Aug 9 21:40:43 EDT 2016


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 at python
components: Documentation
files: document-text-and-anystr.patch
keywords: patch
messages: 272286
nosy: docs at 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 <report at bugs.python.org>
<http://bugs.python.org/issue27723>
_______________________________________


More information about the Python-bugs-list mailing list