Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cython
Commits
6b2995b4
Commit
6b2995b4
authored
Mar 18, 2017
by
Stefan Behnel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
exclude comment from generated code
parent
c83255eb
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
Cython/Utility/Optimize.c
Cython/Utility/Optimize.c
+2
-3
No files found.
Cython/Utility/Optimize.c
View file @
6b2995b4
...
@@ -291,9 +291,8 @@ static CYTHON_INLINE PyObject* __Pyx_dict_iterator(PyObject* iterable, int is_di
...
@@ -291,9 +291,8 @@ static CYTHON_INLINE PyObject* __Pyx_dict_iterator(PyObject* iterable, int is_di
Py_INCREF
(
iterable
);
Py_INCREF
(
iterable
);
return
iterable
;
return
iterable
;
#elif PY_MAJOR_VERSION >= 3
#elif PY_MAJOR_VERSION >= 3
/* On Python 3.x, we need to translate manually a few method
// On PyPy3, we need to translate manually a few method names.
names. This logic is not needed on CPython thanks to the
// This logic is not needed on CPython thanks to the fast case above.
fast case above. */
static
PyObject
*
py_items
=
NULL
,
*
py_keys
=
NULL
,
*
py_values
=
NULL
;
static
PyObject
*
py_items
=
NULL
,
*
py_keys
=
NULL
,
*
py_values
=
NULL
;
const
char
*
name
=
PyUnicode_AsUTF8
(
method_name
);
const
char
*
name
=
PyUnicode_AsUTF8
(
method_name
);
PyObject
**
pp
=
NULL
;
PyObject
**
pp
=
NULL
;
...
...
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