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

Created on 2019-08-12 08:25 by pasenor, last changed 2019-08-12 10:28 by xtreak.

Pull Requests
URL Status Linked Edit
PR 15220 open pasenor, 2019-08-12 08:40
Messages (1)
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}
History
Date User Action Args
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