Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"cmp" should be "key" in sort doc #41771

Closed
kbriggs mannequin opened this issue Mar 29, 2005 · 2 comments
Closed

"cmp" should be "key" in sort doc #41771

kbriggs mannequin opened this issue Mar 29, 2005 · 2 comments
Labels
docs Documentation in the Doc dir

Comments

@kbriggs
Copy link
Mannequin

kbriggs mannequin commented Mar 29, 2005

BPO 1172554
Nosy @rhettinger

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:

assignee = None
closed_at = <Date 2005-03-29.15:35:08.000>
created_at = <Date 2005-03-29.14:22:33.000>
labels = ['docs']
title = '"cmp" should be "key" in sort doc'
updated_at = <Date 2005-03-29.15:35:08.000>
user = 'https://bugs.python.org/kbriggs'

bugs.python.org fields:

activity = <Date 2005-03-29.15:35:08.000>
actor = 'rhettinger'
assignee = 'none'
closed = True
closed_date = None
closer = None
components = ['Documentation']
creation = <Date 2005-03-29.14:22:33.000>
creator = 'kbriggs'
dependencies = []
files = []
hgrepos = []
issue_num = 1172554
keywords = []
message_count = 2.0
messages = ['24814', '24815']
nosy_count = 2.0
nosy_names = ['rhettinger', 'kbriggs']
pr_nums = []
priority = 'normal'
resolution = 'out of date'
stage = None
status = 'closed'
superseder = None
type = None
url = 'https://bugs.python.org/issue1172554'
versions = ['Python 2.4']

@kbriggs
Copy link
Mannequin Author

kbriggs mannequin commented Mar 29, 2005

http://www.python.org/doc/current/lib/typesseq-
mutable.html:

key specifies a function of one argument that is used
to extract a comparison key from each list
element: "cmp=str.lower"

I think should be

key specifies a function of one argument that is used to
extract a comparison key from each list
element: "key=str.lower"

@kbriggs kbriggs mannequin closed this as completed Mar 29, 2005
@kbriggs kbriggs mannequin added the docs Documentation in the Doc dir label Mar 29, 2005
@rhettinger
Copy link
Contributor

Logged In: YES
user_id=80475

Thanks for the report.
This was already fixed.
You should see it in the new Py2.4.1.

@ezio-melotti ezio-melotti transferred this issue from another repository Apr 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Documentation in the Doc dir
Projects
None yet
Development

No branches or pull requests

1 participant