classification
Title: Documentation of stdlib: add example of mixed arguments to dict()
Type: Stage: resolved
Components: Documentation Versions: Python 3.9
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: docs@python Nosy List: docs@python, inada.naoki, matrixise, pasenor, rhettinger
Priority: normal Keywords: patch

Created on 2019-08-12 08:25 by pasenor, last changed 2019-09-12 09:42 by matrixise. This issue is now closed.

Pull Requests
URL Status Linked Edit
PR 15220 merged pasenor, 2019-08-12 08:40
Messages (2)
msg349446 - (view) Author: (pasenor) * Date: 2019-08-12 08:25
The following use of the dict() function with both positional and keyword arguments  does follow from the description, but probably needs it's own example:

dict({'a': 1}, b=2}) == {'a': 1, 'b': 2}
msg352081 - (view) Author: Stéphane Wirtel (matrixise) * (Python committer) Date: 2019-09-12 09:42
Thank you for your contribution, merged into master.
History
Date User Action Args
2019-09-12 09:42:25matrixisesetstatus: open -> closed

versions: - Python 2.7, Python 3.7, Python 3.8
nosy: + matrixise

messages: + msg352081
resolution: fixed
stage: patch review -> resolved
2019-08-12 10:28:03xtreaksetnosy: + rhettinger, inada.naoki

versions: - Python 3.5, Python 3.6
2019-08-12 08:40:28pasenorsetkeywords: + patch
stage: patch review
pull_requests: + pull_request14946
2019-08-12 08:25:59pasenorcreate