diff options
author | 2008-06-11 05:26:20 +0000 | |
---|---|---|
committer | 2008-06-11 05:26:20 +0000 | |
commit | 1a21451b1d73b65af949193208372e86bf308411 (patch) | |
tree | 8e98d7be9e249b011ae9380479656e5284ec0234 /Include/warnings.h | |
parent | block 64105 (diff) | |
download | cpython-1a21451b1d73b65af949193208372e86bf308411.tar.gz cpython-1a21451b1d73b65af949193208372e86bf308411.tar.bz2 cpython-1a21451b1d73b65af949193208372e86bf308411.zip |
Implement PEP 3121: new module initialization and finalization API.
Diffstat (limited to 'Include/warnings.h')
-rw-r--r-- | Include/warnings.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Include/warnings.h b/Include/warnings.h index 5d134312149..f54eabd2454 100644 --- a/Include/warnings.h +++ b/Include/warnings.h @@ -4,7 +4,7 @@ extern "C" { #endif -PyAPI_FUNC(void) _PyWarnings_Init(void); +PyAPI_FUNC(PyObject*) _PyWarnings_Init(void); PyAPI_FUNC(int) PyErr_WarnEx(PyObject *, const char *, Py_ssize_t); PyAPI_FUNC(int) PyErr_WarnExplicit(PyObject *, const char *, const char *, int, |