diff options
author | Guido van Rossum <guido@python.org> | 2000-12-19 03:58:11 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2000-12-19 03:58:11 (GMT) |
commit | e22e4b2b59836339c3f1d22216d04911bc1ad2f8 (patch) | |
tree | 9c4853ee03b9c7f8ca650f37ba8f4f1ec9622886 /Doc/api | |
parent | 9a18a7ed0390d5ce7dedff1c4d44443a9d71e511 (diff) | |
download | cpython-e22e4b2b59836339c3f1d22216d04911bc1ad2f8.zip cpython-e22e4b2b59836339c3f1d22216d04911bc1ad2f8.tar.gz cpython-e22e4b2b59836339c3f1d22216d04911bc1ad2f8.tar.bz2 |
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.)
Diffstat (limited to 'Doc/api')
-rw-r--r-- | Doc/api/refcounts.dat | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/api/refcounts.dat b/Doc/api/refcounts.dat index 0d8d6af..2777d9f 100644 --- a/Doc/api/refcounts.dat +++ b/Doc/api/refcounts.dat @@ -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::: |