diff options
Diffstat (limited to 'Misc/NEWS')
| -rw-r--r-- | Misc/NEWS | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -14,9 +14,8 @@ Core and Builtins - Issue #1717: Removed builtin cmp() function, dropped tp_compare slot, the C API functions PyObject_Compare and PyUnicode_Compare and - the type definition cmpfunc. The tp_compare slot is reserved for - future usage. An attempt to initialize a type with a nonzero - tp_compare slot will raise TypeError. + the type definition cmpfunc. The tp_compare slot has been renamed + to tp_reserved, and is reserved for future usage. - Issue #4707: round(x, n) now returns an integer if x is an integer. Previously it returned a float. |
