[issue21908] Grammatical error in 3.4 tutorial

2014-07-02 Thread Jeremy Fusco

Jeremy Fusco added the comment:

I do, however I feel I'm not the only one that would be thrown by this wording. 
Perhaps wording such as 'In cases like the above it is more convenient to 
utilize the enumerate()'.

Thanks for the quick response!

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue21908] Grammatical error in 3.4 tutorial

2014-07-02 Thread R. David Murray

R. David Murray added the comment:

It is correct English as written.  If you said just 'most cases', it would be 
ambiguous (most cases of using...something not quite clear from context, it 
could be range, or looping, or...), whereas if you said 'such cases', that 
would be wrong, since not all cases where you could use range and an index are 
served by using enumerate.  'most such' correctly refers specifically to the 
preceding example, and qualifies it that not all such cases can use enumerate.  
(See what I did there? :)

--
nosy: +r.david.murray
resolution:  -> not a bug
stage:  -> resolved
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue21908] Grammatical error in 3.4 tutorial

2014-07-02 Thread Jeremy Fusco

New submission from Jeremy Fusco:

https://docs.python.org/3/tutorial/controlflow.html

Sentence states 'most such' where either would suffice.

current: In most such cases, however, it is convenient to use the enumerate() 
function, see Looping Techniques

Proposed: In most cases

--
assignee: docs@python
components: Documentation
messages: 222120
nosy: Jeremy.Fusco, docs@python
priority: normal
severity: normal
status: open
title: Grammatical error in 3.4 tutorial
type: enhancement
versions: Python 3.4

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com