[Zope-Checkins] CVS: Zope2 - Acquisition.c:1.50
Brian Lloyd
brian@digicool.com
Mon, 26 Mar 2001 22:36:30 -0500 (EST)
Update of /cvs-repository/Zope2/lib/Components/ExtensionClass/src
In directory korak:/home/brian/temp/mainline_test/lib/Components/ExtensionClass/src
Modified Files:
Acquisition.c
Log Message:
merged fix for tp_as_number support for Explicit wrappers.
--- Updated File Acquisition.c in package Zope2 --
--- Acquisition.c 2001/03/21 21:11:11 1.49
+++ Acquisition.c 2001/03/27 03:36:30 1.50
@@ -1144,7 +1144,7 @@
(setattrfunc)0, /*tp_setattr*/
(cmpfunc)Wrapper_compare, /*tp_compare*/
(reprfunc)Wrapper_repr, /*tp_repr*/
- 0, /*tp_as_number*/
+ &Wrapper_as_number, /*tp_as_number*/
&Wrapper_as_sequence, /*tp_as_sequence*/
&Wrapper_as_mapping, /*tp_as_mapping*/
(hashfunc)Wrapper_hash, /*tp_hash*/