[issue37829] Documentation of stdlib: add example of mixed arguments to dict()
![](https://secure.gravatar.com/avatar/fa0f7819f1825f596b384c19aa7dcf33.jpg?s=120&d=mm&r=g)
New submission from pasenor <gosha@fro.lv>: 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} ---------- assignee: docs@python components: Documentation messages: 349446 nosy: docs@python, pasenor priority: normal severity: normal status: open title: Documentation of stdlib: add example of mixed arguments to dict() versions: Python 2.7, Python 3.5, Python 3.6, Python 3.7, Python 3.8, Python 3.9 _______________________________________ Python tracker <report@bugs.python.org> <https://bugs.python.org/issue37829> _______________________________________
![](https://secure.gravatar.com/avatar/fa0f7819f1825f596b384c19aa7dcf33.jpg?s=120&d=mm&r=g)
Change by pasenor <gosha@fro.lv>: ---------- keywords: +patch pull_requests: +14946 stage: -> patch review pull_request: https://github.com/python/cpython/pull/15220 _______________________________________ Python tracker <report@bugs.python.org> <https://bugs.python.org/issue37829> _______________________________________
![](https://secure.gravatar.com/avatar/fa0f7819f1825f596b384c19aa7dcf33.jpg?s=120&d=mm&r=g)
Change by Karthikeyan Singaravelan <tir.karthi@gmail.com>: ---------- nosy: +inada.naoki, rhettinger versions: -Python 3.5, Python 3.6 _______________________________________ Python tracker <report@bugs.python.org> <https://bugs.python.org/issue37829> _______________________________________
![](https://secure.gravatar.com/avatar/fa0f7819f1825f596b384c19aa7dcf33.jpg?s=120&d=mm&r=g)
Stéphane Wirtel <stephane@wirtel.be> added the comment: Thank you for your contribution, merged into master. ---------- nosy: +matrixise resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: -Python 2.7, Python 3.7, Python 3.8 _______________________________________ Python tracker <report@bugs.python.org> <https://bugs.python.org/issue37829> _______________________________________
participants (3)
-
Karthikeyan Singaravelan
-
pasenor
-
Stéphane Wirtel