From 2b968d6187c07aeaa1caf44b14b39e281cd94cb1 Mon Sep 17 00:00:00 2001 From: Benjamin Peterson Date: Sat, 5 Jul 2008 23:38:30 +0000 Subject: [PATCH] #3295 actually define PyExc_BufferError --- Objects/exceptions.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Objects/exceptions.c b/Objects/exceptions.c index 0c9c94d0f0..02a55c1254 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) -- 2.50.1