]> granicus.if.org Git - python/commitdiff
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)
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

index 0d8d6afa400e936df62622dc36d459ff00d3a3ad..2777d9f40ab5b47df42e91f91cfb33fba9fed8c8 100644 (file)
@@ -207,7 +207,7 @@ PyErr_Format:char*:format::
 PyErr_Format::...::
 
 PyErr_Warn:int:::
-PyErr_Warn:PyObject*:category:0 or +1:
+PyErr_Warn:PyObject*:category:0:
 PyErr_Warn:char*:message::
 
 PyEval_AcquireLock:void:::