#3295 actually define PyExc_BufferError
authorBenjamin Peterson <benjamin@python.org>
Sat, 5 Jul 2008 23:38:30 +0000 (23:38 +0000)
committerBenjamin Peterson <benjamin@python.org>
Sat, 5 Jul 2008 23:38:30 +0000 (23:38 +0000)
Objects/exceptions.c

index 0c9c94d0f05ed926420832a78421b471cd53d5a4..02a55c12542cf1d796057df547b236a3969c3e76 100644 (file)
@@ -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)