[issue16206] dict() docs should display multiple signatures

2012-10-26 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 361beec678e1 by Ezio Melotti in branch '2.7':
#16206: Improve examples about dict construction.
http://hg.python.org/cpython/rev/361beec678e1

New changeset eb999002916c by Ezio Melotti in branch '3.2':
#16206: Improve examples about dict construction.
http://hg.python.org/cpython/rev/eb999002916c

New changeset 2c1fff6f8956 by Ezio Melotti in branch '3.3':
#16206: merge with 3.2.
http://hg.python.org/cpython/rev/2c1fff6f8956

New changeset 46ce82b4c1fa by Ezio Melotti in branch 'default':
#16206: merge with 3.3.
http://hg.python.org/cpython/rev/46ce82b4c1fa

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16206
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue16206] dict() docs should display multiple signatures

2012-10-13 Thread Roundup Robot

Roundup Robot added the comment:

New changeset ed6da2a8361c by Chris Jerdonek in branch '3.2':
Issue #16206: Improve the documentation of the dict constructor.
http://hg.python.org/cpython/rev/ed6da2a8361c

New changeset 02de13d69149 by Chris Jerdonek in branch '3.3':
Issue #16206: Merge dict documentation improvements from 3.2.
http://hg.python.org/cpython/rev/02de13d69149

New changeset 392e09ba9feb by Chris Jerdonek in branch 'default':
Issue #16206: Merge dict documentation improvements from 3.3.
http://hg.python.org/cpython/rev/392e09ba9feb

--
nosy: +python-dev

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16206
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue16206] dict() docs should display multiple signatures

2012-10-13 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 5fc6f47974db by Chris Jerdonek in branch '2.7':
Issue #16206: Backport dict documentation improvements from 3.2.
http://hg.python.org/cpython/rev/5fc6f47974db

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16206
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue16206] dict() docs should display multiple signatures

2012-10-13 Thread Chris Jerdonek

Changes by Chris Jerdonek chris.jerdo...@gmail.com:


--
resolution:  - fixed
stage:  - committed/rejected
status: open - closed

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16206
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue16206] dict() docs should display multiple signatures

2012-10-12 Thread Chris Jerdonek

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@python
components: Documentation
keywords: easy
messages: 172718
nosy: chris.jerdonek, docs@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 rep...@bugs.python.org
http://bugs.python.org/issue16206
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue16206] dict() docs should display multiple signatures

2012-10-12 Thread Chris Jerdonek

Chris Jerdonek added the comment:

Attaching proposed patch.

--
keywords: +patch
Added file: http://bugs.python.org/file27546/issue-16206-1-default.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16206
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com