Staging
v0.8.1
https://github.com/python/cpython
Revision 6e359bdabca89b401f8e0fe151f64101500ebd22 authored by Walter Dörwald on 04 May 2009, 16:10:10 UTC, committed by Walter Dörwald on 04 May 2009, 16:10:10 UTC
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r72278 | walter.doerwald | 2009-05-04 18:03:03 +0200 (Mo, 04 Mai 2009) | 2 lines

  Fix typos.
........
1 parent bbb9be7
Raw File
Tip revision: 6e359bdabca89b401f8e0fe151f64101500ebd22 authored by Walter Dörwald on 04 May 2009, 16:10:10 UTC
Merged revisions 72278 via svnmerge from
Tip revision: 6e359bd
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