Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 2b968d6

Browse files
committed
#3295 actually define PyExc_BufferError
1 parent bbea797 commit 2b968d6

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

Objects/exceptions.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1847,6 +1847,7 @@ _PyExc_Init(void)
18471847
PRE_INIT(ReferenceError)
18481848
PRE_INIT(BufferError)
18491849
PRE_INIT(MemoryError)
1850+
PRE_INIT(BufferError)
18501851
PRE_INIT(Warning)
18511852
PRE_INIT(UserWarning)
18521853
PRE_INIT(DeprecationWarning)
@@ -1908,6 +1909,7 @@ _PyExc_Init(void)
19081909
POST_INIT(ReferenceError)
19091910
POST_INIT(BufferError)
19101911
POST_INIT(MemoryError)
1912+
POST_INIT(BufferError)
19111913
POST_INIT(Warning)
19121914
POST_INIT(UserWarning)
19131915
POST_INIT(DeprecationWarning)

0 commit comments

Comments
 (0)