Staging
v0.8.1
Revision fcf1ea5c86fb2b1efb54a780e31a69b24c0658f4 authored by Georg Brandl on 04 August 2009, 20:26:39 UTC, committed by Georg Brandl on 04 August 2009, 20:26:39 UTC
svn+ssh://svn.python.org/python/branches/py3k

................
  r74309 | georg.brandl | 2009-08-04 22:25:54 +0200 (Di, 04 Aug 2009) | 9 lines

  Merged revisions 74307 via svnmerge from
  svn+ssh://pythondev@svn.python.org/python/trunk

  ........
    r74307 | georg.brandl | 2009-08-04 22:22:43 +0200 (Di, 04 Aug 2009) | 1 line

    Add donation link to docs footer.
  ........
................
1 parent 216dc7b
Raw File
warnings.h
#ifndef Py_WARNINGS_H
#define Py_WARNINGS_H
#ifdef __cplusplus
extern "C" {
#endif

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,
                                    const char *, PyObject *);

/* DEPRECATED: Use PyErr_WarnEx() instead. */
#define PyErr_Warn(category, msg) PyErr_WarnEx(category, msg, 1)

#ifdef __cplusplus
}
#endif
#endif /* !Py_WARNINGS_H */

back to top