Staging
v0.5.1
https://github.com/python/cpython
Revision 081a38d6783a301f7486585cff88f106da52dd71 authored by Benjamin Peterson on 18 March 2010, 23:01:29 UTC, committed by Benjamin Peterson on 18 March 2010, 23:01:29 UTC
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r79075 | benjamin.peterson | 2010-03-18 17:58:19 -0500 (Thu, 18 Mar 2010) | 9 lines

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

  ........
    r79073 | benjamin.peterson | 2010-03-18 17:55:46 -0500 (Thu, 18 Mar 2010) | 1 line

    reignore bad_coding
  ........
................
1 parent 5ff5336
Raw File
Tip revision: 081a38d6783a301f7486585cff88f106da52dd71 authored by Benjamin Peterson on 18 March 2010, 23:01:29 UTC
Merged revisions 79075 via svnmerge from
Tip revision: 081a38d
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