python / cpython

The Python programming language
https://www.python.org/
Other
60.06k stars 29.08k forks source link

Typo in the tutorial: shorted -> shorter #33397

Closed 50eff062-408a-4098-b1b2-8222303b9d0c closed 23 years ago

50eff062-408a-4098-b1b2-8222303b9d0c commented 23 years ago
BPO 217706
Nosy @freddrake

Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

Show more details

GitHub fields: ```python assignee = 'https://github.com/freddrake' closed_at = created_at = labels = ['docs'] title = 'Typo in the tutorial: shorted -> shorter' updated_at = user = 'https://bugs.python.org/anonymous' ``` bugs.python.org fields: ```python activity = actor = 'fdrake' assignee = 'fdrake' closed = True closed_date = None closer = None components = ['Documentation'] creation = creator = 'anonymous' dependencies = [] files = [] hgrepos = [] issue_num = 217706 keywords = [] message_count = 3.0 messages = ['2168', '2169', '2170'] nosy_count = 1.0 nosy_names = ['fdrake'] pr_nums = [] priority = 'normal' resolution = 'fixed' stage = None status = 'closed' superseder = None type = None url = 'https://bugs.python.org/issue217706' versions = [] ```

3772858d-27d8-44b0-a664-d68674859f36 commented 23 years ago

In the tutorial:

5.6 Comparing Sequences and Other Types

[...] If one sequence is an initial subsequence of the other, the shorted sequence is the smaller one.

"shorted" should be "shorter".

freddrake commented 23 years ago

Typo corrected in Doc/tut/tut.tex revision 1.120.

freddrake commented 23 years ago

Typo corrected in Doc/tut/tut.tex revision 1.120.