Skip to content

Commit 4f3c561

Browse files
committed
Removed merge glitch from stringlib/find.h as explained on the python committers list. The FROM_BYTEARRAY isn't required here.
This also fixes bug python#3713
1 parent ff869fa commit 4f3c561

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Objects/stringlib/find.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ stringlib_rfind_slice(const STRINGLIB_CHAR* str, Py_ssize_t str_len,
9090
return stringlib_rfind(str + start, end - start, sub, sub_len, start);
9191
}
9292

93-
#ifdef STRINGLIB_WANT_CONTAINS_OBJ && !defined(FROM_BYTEARRAY)
93+
#ifdef STRINGLIB_WANT_CONTAINS_OBJ
9494

9595
Py_LOCAL_INLINE(int)
9696
stringlib_contains_obj(PyObject* str, PyObject* sub)

0 commit comments

Comments
 (0)