summaryrefslogtreecommitdiffstats
path: root/Include/pyerrors.h
diff options
context:
space:
mode:
authorTravis E. Oliphant <oliphant@enthought.com>2008-03-17 17:36:12 (GMT)
committerTravis E. Oliphant <oliphant@enthought.com>2008-03-17 17:36:12 (GMT)
commit33451d8ab143fb89374673d3aa751910c5b1031e (patch)
tree6cc780e6cbc6babaadf7171b51b4d97829add392 /Include/pyerrors.h
parent9ff19b54346d39d15cdcf75e9d66ab46ea6064d6 (diff)
downloadcpython-33451d8ab143fb89374673d3aa751910c5b1031e.zip
cpython-33451d8ab143fb89374673d3aa751910c5b1031e.tar.gz
cpython-33451d8ab143fb89374673d3aa751910c5b1031e.tar.bz2
Add necessary headers to back-port new buffer protocol to Python 2.6
Diffstat (limited to 'Include/pyerrors.h')
-rw-r--r--Include/pyerrors.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Include/pyerrors.h b/Include/pyerrors.h
index 73a0e36..9c2bc67 100644
--- a/Include/pyerrors.h
+++ b/Include/pyerrors.h
@@ -160,6 +160,8 @@ PyAPI_DATA(PyObject *) PyExc_WindowsError;
PyAPI_DATA(PyObject *) PyExc_VMSError;
#endif
+PyAPI_DATA(PyObject *) PyExc_BufferError;
+
PyAPI_DATA(PyObject *) PyExc_MemoryErrorInst;
PyAPI_DATA(PyObject *) PyExc_RecursionErrorInst;