]> granicus.if.org Git - python/commit
tp_new_wrapper(): A subtle change in the check for safe use.
authorGuido van Rossum <guido@python.org>
Fri, 14 Sep 2001 19:43:36 +0000 (19:43 +0000)
committerGuido van Rossum <guido@python.org>
Fri, 14 Sep 2001 19:43:36 +0000 (19:43 +0000)
commita8c60f478cfadf9d75d605816f3962fbe588640a
tree4f5c94aff64a700687280e1476f8dbbc160e6e79
parentf21c6be7bd41609a4bc11f6a900da01f70be3258
tp_new_wrapper(): A subtle change in the check for safe use.
Allow staticbase != type, as long as their tp_new slots are the same.
Objects/typeobject.c