From: Benjamin Peterson Date: Sat, 5 Jul 2008 23:38:30 +0000 (+0000) Subject: #3295 actually define PyExc_BufferError X-Git-Tag: v3.0b2~89 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=2b968d6187c07aeaa1caf44b14b39e281cd94cb1;p=thirdparty%2FPython%2Fcpython.git #3295 actually define PyExc_BufferError --- diff --git a/Objects/exceptions.c b/Objects/exceptions.c index 0c9c94d0f05e..02a55c12542c 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)