[Zope-Checkins] CVS: Zope2 - Acquisition.c:1.46.2.4

Brian Lloyd brian@digicool.com
Mon, 26 Mar 2001 22:35:53 -0500 (EST)


Update of /cvs-repository/Zope2/lib/Components/ExtensionClass/src
In directory korak:/home/brian/temp/zope-23-branch/lib/Components/ExtensionClass/src

Modified Files:
      Tag: zope-2_3-branch
	Acquisition.c 
Log Message:
fixed tp_as_number support for Explicit wrappers



--- Updated File Acquisition.c in package Zope2 --
--- Acquisition.c	2001/03/21 20:52:31	1.46.2.3
+++ Acquisition.c	2001/03/27 03:35:52	1.46.2.4
@@ -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*/