[Zope3-dev] Codecheck please

Garrett Smith garrett at mojave-corp.com
Tue Mar 15 15:31:13 EST 2005


Would someone check this Python -> C translation:

> +/*        if type(value) is Proxy: */
> +/*            return value */

> +  if ((PyObject*)(value->ob_type) == Proxy)
> +    {
> +      Py_INCREF(value);
> +      return value;
> +    }

Trivial, but I don't have a lot of experience. Just want to make sure.

 -- Garrett


More information about the Zope3-dev mailing list