[issue21908] Grammatical error in 3.4 tutorial
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 <report@bugs.python.org> <http://bugs.python.org/issue21908> _______________________________________
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 <report@bugs.python.org> <http://bugs.python.org/issue21908> _______________________________________
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 <report@bugs.python.org> <http://bugs.python.org/issue21908> _______________________________________
participants (2)
-
Jeremy Fusco
-
R. David Murray