[issue10880] do_mkvalue and 'boolean'

Yuriy report at bugs.python.org
Mon Jan 10 21:28:40 CET 2011


Yuriy <irov13 at mail.ru> added the comment:

case 'g':
		{
			int n;
			n = va_arg(*p_va, int);

			if (n == 0)
				Py_RETURN_FALSE;
			else
				Py_RETURN_TRUE;
		}

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue10880>
_______________________________________


More information about the Python-bugs-list mailing list