[New-bugs-announce] [issue16206] dict() docs should display multiple signatures

Chris Jerdonek report at bugs.python.org
Fri Oct 12 09:09:33 CEST 2012


New submission from Chris Jerdonek:

The documentation for dict() (for both the built-in function and the class constructor) should display multiple signatures as do dict.__doc__ and the documentation for, say, str().

Currently, the dict() documentation just has one signature:

dict([arg])

Something more in line with the docstring would be better, for example:

dict(mapping={})
dict(iterable)
dict(**kwargs)

----------
assignee: docs at python
components: Documentation
keywords: easy
messages: 172718
nosy: chris.jerdonek, docs at python, ezio.melotti
priority: normal
severity: normal
status: open
title: dict() docs should display multiple signatures
versions: Python 2.7, Python 3.2, Python 3.3, Python 3.4

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


More information about the New-bugs-announce mailing list