python-2.7.6/include/warnings.h File Reference

warnings.h File Reference

Macros

#define PyErr_WarnPy3k(msg, stacklevel)   (Py_Py3kWarningFlag ? PyErr_WarnEx(PyExc_DeprecationWarning, msg, stacklevel) : 0)
 
#define PyErr_Warn(category, msg)   PyErr_WarnEx(category, msg, 1)
 

Functions

 PyAPI_FUNC (void) _PyWarnings_Init(void)
 
 PyAPI_FUNC (int) PyErr_WarnEx(PyObject *
 

Variables

const char Py_ssize_t
 
const char const char int
 

Macro Definition Documentation

#define PyErr_Warn (   category,
  msg 
)    PyErr_WarnEx(category, msg, 1)

Definition at line 17 of file warnings.h.

#define PyErr_WarnPy3k (   msg,
  stacklevel 
)    (Py_Py3kWarningFlag ? PyErr_WarnEx(PyExc_DeprecationWarning, msg, stacklevel) : 0)

Definition at line 13 of file warnings.h.

Function Documentation

PyAPI_FUNC ( void  )
PyAPI_FUNC ( int  )

Variable Documentation

const char const char int

Definition at line 10 of file warnings.h.

const char Py_ssize_t

Definition at line 9 of file warnings.h.

Go to the source code of this file.