Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset d60856651139 by Ezio Melotti in branch '2.7':
#6570: clarify tutorial section about keyword arguments.
http://hg.python.org/cpython/rev/d60856651139
New changeset 44ca4264dc88 by Ezio Melotti in branch '3.2':
#6570:
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
resolution: - fixed
stage: commit review - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6570
___
Ezio Melotti ezio.melo...@gmail.com added the comment:
Terry, does the latest patch look good to you?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6570
___
Ezio Melotti ezio.melo...@gmail.com added the comment:
Here is a new patch.
--
Added file: http://bugs.python.org/file23722/issue6570-2.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6570
Ezio Melotti ezio.melo...@gmail.com added the comment:
Attached patch, please review.
--
assignee: docs@python - ezio.melotti
keywords: +patch
nosy: +eric.araujo, ezio.melotti
stage: - commit review
versions: +Python 2.7 -Python 3.1
Added file:
Terry J. Reedy tjre...@udel.edu added the comment:
def parrot(voltage, state='a stiff', action='voom', type='Norwegian Blue'):
+accepts one :term:`positional argument` (``voltage``) and three
+:term:`keyword arguments keyword argument` (``state``, ``action``,
+and ``type``).
This is simply
Ezio Melotti ezio.melo...@gmail.com added the comment:
+accepts one :term:`positional argument` (``voltage``) and three
+:term:`keyword arguments keyword argument` (``state``, ``action``,
+and ``type``).
This is simply false. An argument for voltage is required, the other
three are
Terry J. Reedy tjre...@udel.edu added the comment:
Would adding 'required' before 'positional' and 'optional' before 'keyword
arguments' be ok?
No! What is false in the original and the above is the equation and confusion
of 'required' with 'positional' and 'optional' with 'keyword'.
Ezio Melotti ezio.melo...@gmail.com added the comment:
OK, now I got what you mean.
I'll try to come up with a better patch then :)
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6570
___
Changes by Terry J. Reedy tjre...@udel.edu:
--
nosy: +terry.reedy
versions: +Python 3.2, Python 3.3
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6570
___
Gabriel Genellina gagsl-...@yahoo.com.ar added the comment:
I'll try to rephrase the section.
--
nosy: +gagenellina
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6570
___
Changes by Terry J. Reedy tjre...@udel.edu:
--
title: Documentation Clarity - Tutorial clarity: section 4.7.2, parameters and
arguments
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6570
12 matches
Mail list logo