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

Skip to content

Commit cfbf8d5

Browse files
committed
Remove debugging prints
1 parent 4a56cda commit cfbf8d5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/py_exceptions.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,23 +32,23 @@ class exception : public std::exception
3232
} \
3333
catch (const std::bad_alloc) \
3434
{ \
35-
PyErr_Format(PyExc_MemoryError, "A In %s: Out of memory", (name)); \
35+
PyErr_Format(PyExc_MemoryError, "In %s: Out of memory", (name)); \
3636
{ \
3737
cleanup; \
3838
} \
3939
return (errorcode); \
4040
} \
4141
catch (const std::overflow_error &e) \
4242
{ \
43-
PyErr_Format(PyExc_OverflowError, "B In %s: %s", (name), e.what()); \
43+
PyErr_Format(PyExc_OverflowError, "In %s: %s", (name), e.what()); \
4444
{ \
4545
cleanup; \
4646
} \
4747
return (errorcode); \
4848
} \
4949
catch (char const *e) \
5050
{ \
51-
PyErr_Format(PyExc_RuntimeError, "C In %s: %s", (name), e); \
51+
PyErr_Format(PyExc_RuntimeError, "In %s: %s", (name), e); \
5252
{ \
5353
cleanup; \
5454
} \

0 commit comments

Comments
 (0)