Commit 6c92857e authored by Stefan Behnel's avatar Stefan Behnel

Remove redundant type check.

parent 3b46028a
...@@ -211,7 +211,7 @@ static int __Pyx_ParseOptionalKeywords( ...@@ -211,7 +211,7 @@ static int __Pyx_ParseOptionalKeywords(
name = first_kw_arg; name = first_kw_arg;
#if PY_MAJOR_VERSION < 3 #if PY_MAJOR_VERSION < 3
if (likely(PyString_CheckExact(key)) || likely(PyString_Check(key))) { if (likely(PyString_Check(key))) {
while (*name) { while (*name) {
if ((CYTHON_COMPILING_IN_PYPY || PyString_GET_SIZE(**name) == PyString_GET_SIZE(key)) if ((CYTHON_COMPILING_IN_PYPY || PyString_GET_SIZE(**name) == PyString_GET_SIZE(key))
&& _PyString_Eq(**name, key)) { && _PyString_Eq(**name, key)) {
......
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