Staging
v0.5.1
https://github.com/python/cpython
Revision 6de17d2ce334f88d601646694f6d7a6cbfa5416e authored by Tim Peters on 29 May 2003, 18:50:45 UTC, committed by Tim Peters on 29 May 2003, 18:50:45 UTC
and 'type' arguments.  This improves x-platform compatibility (e.g., on
Unix systems socket() already supported these default arguments).

No need to do anything here for 2.3 -- it already fixed this glitch in a
different way.
1 parent a0e0297
Raw File
Tip revision: 6de17d2ce334f88d601646694f6d7a6cbfa5416e authored by Tim Peters on 29 May 2003, 18:50:45 UTC
Give the Windows socket wrapper function default values for its 'family'
Tip revision: 6de17d2
traceback.h

#ifndef Py_TRACEBACK_H
#define Py_TRACEBACK_H
#ifdef __cplusplus
extern "C" {
#endif

/* Traceback interface */

struct _frame;

DL_IMPORT(int) PyTraceBack_Here(struct _frame *);
DL_IMPORT(int) PyTraceBack_Print(PyObject *, PyObject *);

/* Reveal traceback type so we can typecheck traceback objects */
extern DL_IMPORT(PyTypeObject) PyTraceBack_Type;
#define PyTraceBack_Check(v) ((v)->ob_type == &PyTraceBack_Type)

#ifdef __cplusplus
}
#endif
#endif /* !Py_TRACEBACK_H */
back to top