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
Labels
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
nexedi
cython
Commits
878cc63e
Commit
878cc63e
authored
Aug 09, 2017
by
Stefan Behnel
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch '_pep525_async_gen'
parents
536b2291
9dc48aad
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
Cython/Utility/Coroutine.c
Cython/Utility/Coroutine.c
+2
-2
No files found.
Cython/Utility/Coroutine.c
View file @
878cc63e
...
...
@@ -577,7 +577,7 @@ static void __Pyx__Coroutine_AlreadyRunningError(CYTHON_UNUSED __pyx_CoroutineOb
}
#define __Pyx_Coroutine_NotStartedError(gen) (__Pyx__Coroutine_NotStartedError(gen), (PyObject*)NULL)
static
void
__Pyx__Coroutine_NotStartedError
(
PyObject
*
gen
)
{
static
void
__Pyx__Coroutine_NotStartedError
(
CYTHON_UNUSED
PyObject
*
gen
)
{
const
char
*
msg
;
if
(
0
)
{
#ifdef __Pyx_Coroutine_USED
...
...
@@ -595,7 +595,7 @@ static void __Pyx__Coroutine_NotStartedError(PyObject *gen) {
}
#define __Pyx_Coroutine_AlreadyTerminatedError(gen, value, closing) (__Pyx__Coroutine_AlreadyTerminatedError(gen, value, closing), (PyObject*)NULL)
static
void
__Pyx__Coroutine_AlreadyTerminatedError
(
PyObject
*
gen
,
PyObject
*
value
,
CYTHON_UNUSED
int
closing
)
{
static
void
__Pyx__Coroutine_AlreadyTerminatedError
(
CYTHON_UNUSED
PyObject
*
gen
,
PyObject
*
value
,
CYTHON_UNUSED
int
closing
)
{
#ifdef __Pyx_Coroutine_USED
if
(
!
closing
&&
__Pyx_Coroutine_CheckExact
(
gen
))
{
// `self` is an exhausted coroutine: raise an error,
...
...
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