]> granicus.if.org Git - python/commit
Oops. The value "0 or +1" for the category argument of PyErr_Warn()
authorGuido van Rossum <guido@python.org>
Tue, 19 Dec 2000 03:58:11 +0000 (03:58 +0000)
committerGuido van Rossum <guido@python.org>
Tue, 19 Dec 2000 03:58:11 +0000 (03:58 +0000)
commite22e4b2b59836339c3f1d22216d04911bc1ad2f8
tree9c4853ee03b9c7f8ca650f37ba8f4f1ec9622886
parent9a18a7ed0390d5ce7dedff1c4d44443a9d71e511
Oops.  The value "0 or +1" for the category argument of PyErr_Warn()
doesn't work.  Make it 0.  (Although it really *should* be 0 or +1 --
the refcount is incremented when it is raised as an exception, but not
otherwise.)
Doc/api/refcounts.dat