Add tests for cmp_to_key.
Adopt PEP 8 compliant function name.
Factor-out existing uses cmp_to_key.
Update documentation to use internal pointers instead of external resource.
diff --git a/Misc/NEWS b/Misc/NEWS
index 0f1f225..4cb76ad 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -60,7 +60,7 @@
- the functools module now has a total_ordering() class decorator
to simplify the specifying rich comparisons.
-- The functools module also adds CmpToKey() as a tool to transition
+- The functools module also adds cmp_to_key() as a tool to transition
old-style comparison functions to new-style key-functions.
- Issue #8294: The Fraction constructor now accepts Decimal and float