Commit 50ad6727 authored by Lisandro Dalcin's avatar Lisandro Dalcin

fix function declaration in utility code

parent 7830d4fd
...@@ -5414,10 +5414,10 @@ static INLINE void __Pyx_RaiseNoneAttributeError(const char* attrname) { ...@@ -5414,10 +5414,10 @@ static INLINE void __Pyx_RaiseNoneAttributeError(const char* attrname) {
raise_noneindex_error_utility_code = UtilityCode( raise_noneindex_error_utility_code = UtilityCode(
proto = """ proto = """
static INLINE void __Pyx_RaiseNoneIndexingError(); static INLINE void __Pyx_RaiseNoneIndexingError(void);
""", """,
impl = """ impl = """
static INLINE void __Pyx_RaiseNoneIndexingError() { static INLINE void __Pyx_RaiseNoneIndexingError(void) {
PyErr_SetString(PyExc_TypeError, "'NoneType' object is unsubscriptable"); PyErr_SetString(PyExc_TypeError, "'NoneType' object is unsubscriptable");
} }
""") """)
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment