]> granicus.if.org Git - python/commit
I think there was a tiny bug in new_function() -- the 'defaults'
authorGuido van Rossum <guido@python.org>
Fri, 22 May 1998 00:57:31 +0000 (00:57 +0000)
committerGuido van Rossum <guido@python.org>
Fri, 22 May 1998 00:57:31 +0000 (00:57 +0000)
commitb88679b2a4956109e11df64f463fdc36b4c1d67d
treec2ab58e1f4ac52d511a8e5d348718a06203464a4
parentc8498dc604424d305d3ea53ee96a758aae017624
I think there was a tiny bug in new_function() -- the 'defaults'
argument was initialized to Py_None, but later checked for NULL.
Consistently use Py_None.
Modules/newmodule.c