summaryrefslogtreecommitdiffstats
path: root/Objects
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2008-07-05 23:38:30 (GMT)
committerBenjamin Peterson <benjamin@python.org>2008-07-05 23:38:30 (GMT)
commit2b968d6187c07aeaa1caf44b14b39e281cd94cb1 (patch)
tree93d51a426391419899102bec359e35c48be9f35f /Objects
parentbbea7972a40e86710be6b03e106efdd32fbcaca5 (diff)
downloadcpython-2b968d6187c07aeaa1caf44b14b39e281cd94cb1.zip
cpython-2b968d6187c07aeaa1caf44b14b39e281cd94cb1.tar.gz
cpython-2b968d6187c07aeaa1caf44b14b39e281cd94cb1.tar.bz2
#3295 actually define PyExc_BufferError
Diffstat (limited to 'Objects')
-rw-r--r--Objects/exceptions.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/Objects/exceptions.c b/Objects/exceptions.c
index 0c9c94d..02a55c1 100644
--- a/Objects/exceptions.c
+++ b/Objects/exceptions.c
@@ -1847,6 +1847,7 @@ _PyExc_Init(void)
PRE_INIT(ReferenceError)
PRE_INIT(BufferError)
PRE_INIT(MemoryError)
+ PRE_INIT(BufferError)
PRE_INIT(Warning)
PRE_INIT(UserWarning)
PRE_INIT(DeprecationWarning)
@@ -1908,6 +1909,7 @@ _PyExc_Init(void)
POST_INIT(ReferenceError)
POST_INIT(BufferError)
POST_INIT(MemoryError)
+ POST_INIT(BufferError)
POST_INIT(Warning)
POST_INIT(UserWarning)
POST_INIT(DeprecationWarning)