cpython: 06e4b9f2e4b0 (original) (raw)

Mercurial > cpython

changeset 105621:06e4b9f2e4b0 3.5

Serhiy Storchaka storchaka@gmail.com
date Wed, 14 Dec 2016 19:52:17 +0200
parents c3da1ee47e6b
children 0ce789eae627 a89469328b78
files Lib/test/test_descr.py Misc/NEWS Objects/typeobject.c
diffstat 3 files changed, 3 insertions(+), 31 deletions(-)[+] [-] Lib/test/test_descr.py 2 Misc/NEWS 3 Objects/typeobject.c 29

line wrap: on

line diff

--- a/Lib/test/test_descr.py +++ b/Lib/test/test_descr.py @@ -1662,6 +1662,7 @@ order (MRO) for bases """ self.assertEqual(b.foo, 3) self.assertEqual(b.class, D)

@@ -1708,6 +1709,7 @@ order (MRO) for bases """ object.init(A(3)) self.assertRaises(TypeError, object.init, A(3), 5)

--- a/Misc/NEWS +++ b/Misc/NEWS @@ -13,9 +13,6 @@ Core and Builtins

--- a/Objects/typeobject.c +++ b/Objects/typeobject.c @@ -6798,34 +6798,7 @@ update_one_slot(PyTypeObject *type, slot sanity checks and constructing a new argument list. Cut all that nonsense short -- this speeds up instance creation tremendously. */