Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Kirill Smelkov
cython
Commits
6c92857e
Commit
6c92857e
authored
5 years ago
by
Stefan Behnel
Browse files
Options
Download
Email Patches
Plain Diff
Remove redundant type check.
parent
3b46028a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
Cython/Utility/FunctionArguments.c
Cython/Utility/FunctionArguments.c
+1
-1
No files found.
Cython/Utility/FunctionArguments.c
View file @
6c92857e
...
...
@@ -211,7 +211,7 @@ static int __Pyx_ParseOptionalKeywords(
name
=
first_kw_arg
;
#if PY_MAJOR_VERSION < 3
if
(
likely
(
PyString_CheckExact
(
key
))
||
likely
(
PyString_Check
(
key
)))
{
if
(
likely
(
PyString_Check
(
key
)))
{
while
(
*
name
)
{
if
((
CYTHON_COMPILING_IN_PYPY
||
PyString_GET_SIZE
(
**
name
)
==
PyString_GET_SIZE
(
key
))
&&
_PyString_Eq
(
**
name
,
key
))
{
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment