New submission from Xiang Zhang:

For tuple and list, their signatures are tuple([iterable]) and 
list([iterable]). But actually they support keyword argument *sequence*. The 
parameter names in doc are sometimes just placeholders but sometimes are real 
parameter names. So I suggest make the implementation and doc more compliant. 
One method is make the parameter name in implementation *iterable*. The other 
is totally suppress keyword argument since it is never documented. This is not 
a necessary change but I think the compliment is not a bad idea.

----------
components: Interpreter Core
messages: 270858
nosy: serhiy.storchaka, xiang.zhang
priority: normal
severity: normal
status: open
title: tuple and list parameter name conflicts between doc and implementation
type: enhancement
versions: Python 3.6

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue27577>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to