[docs] [issue30659] Use ** correctly for "kwargs" in signature of namedtuple._replace()

Ben Hoyt report at bugs.python.org
Tue Jun 13 14:49:23 EDT 2017


New submission from Ben Hoyt:

The documentation for namedtuple._replace() needs a tweak: currently its signature shows "kwargs" without the ** notation, indicating it's a single, positional argument. It should have the ** to indicate it's actually any number of keyword arguments.

See https://docs.python.org/3/library/collections.html#collections.somenamedtuple._replace and compare with the docs for the signature of Logger.debug() for example: https://docs.python.org/3/library/logging.html#logging.Logger.debug

----------
assignee: docs at python
components: Documentation
messages: 295949
nosy: benhoyt, docs at python, rhettinger
priority: normal
pull_requests: 2225
severity: normal
status: open
title: Use ** correctly for "kwargs" in signature of namedtuple._replace()
versions: Python 2.7, Python 3.3, Python 3.4, Python 3.5, Python 3.6, Python 3.7

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


More information about the docs mailing list