diff options
author | Tim Peters <tim.peters@gmail.com> | 2002-12-09 22:56:13 (GMT) |
---|---|---|
committer | Tim Peters <tim.peters@gmail.com> | 2002-12-09 22:56:13 (GMT) |
commit | bca1cbc6f895c7f9f003877b1cfc0c649387ae1c (patch) | |
tree | dff6bc8f6b8f2c8eab0a06e4921d7e6521f0a396 /Lib | |
parent | c7e3c5e3062295d4c3a7d8a41e4c2246e7476194 (diff) | |
download | cpython-bca1cbc6f895c7f9f003877b1cfc0c649387ae1c.zip cpython-bca1cbc6f895c7f9f003877b1cfc0c649387ae1c.tar.gz cpython-bca1cbc6f895c7f9f003877b1cfc0c649387ae1c.tar.bz2 |
SF 548651: Fix the METH_CLASS implementation.
Most of these patches are from Thomas Heller, with long lines folded
by Tim. The change to test_descr.py is from Guido. See the bug report.
Not a bugfix candidate -- METH_CLASS is new in 2.3.
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/test/test_descr.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Lib/test/test_descr.py b/Lib/test/test_descr.py index 76636a9..ed4593e 100644 --- a/Lib/test/test_descr.py +++ b/Lib/test/test_descr.py @@ -1464,12 +1464,12 @@ def classmethods_in_c(): a = (1, 2, 3) d = {'abc': 123} x, a1, d1 = spam.spamlist.classmeth(*a, **d) - veris(x, None) - vereq((spam.spamlist,) + a, a1) + veris(x, spam.spamlist) + vereq(a, a1) vereq(d, d1) x, a1, d1 = spam.spamlist().classmeth(*a, **d) - veris(x, None) - vereq((spam.spamlist,) + a, a1) + veris(x, spam.spamlist) + vereq(a, a1) vereq(d, d1) def staticmethods(): |