[New-bugs-announce] [issue27688] Expand documentation about Any in the typing module

Michael Lee report at bugs.python.org
Thu Aug 4 23:37:04 EDT 2016


New submission from Michael Lee:

This patch updates the section about `Any` in the typing module. Previously, that section was relatively sparse and didn't seem to do a very good job of helping the reader understand what the distinction between `Any` and `object` is.

This patch expands that section and adds several examples borrowed from the mypy docs and PEP 484.

----------
assignee: docs at python
components: Documentation
files: object-vs-any.patch
keywords: patch
messages: 272009
nosy: docs at python, gvanrossum, michael0x2a
priority: normal
severity: normal
status: open
title: Expand documentation about Any in the typing module
versions: Python 3.5, Python 3.6
Added file: http://bugs.python.org/file44012/object-vs-any.patch

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


More information about the New-bugs-announce mailing list