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
05b8142d
Commit
05b8142d
authored
Aug 09, 2015
by
Stefan Behnel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
adapt coroutine docstrings to CPython
parent
a8d8a5d1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
Cython/Utility/Coroutine.c
Cython/Utility/Coroutine.c
+3
-3
No files found.
Cython/Utility/Coroutine.c
View file @
05b8142d
...
...
@@ -1160,14 +1160,14 @@ static PyObject *__Pyx_Coroutine_compare(PyObject *obj, PyObject *other, int op)
static
PyMethodDef
__pyx_Coroutine_methods
[]
=
{
{
"send"
,
(
PyCFunction
)
__Pyx_Coroutine_Send
,
METH_O
,
(
char
*
)
PyDoc_STR
(
"send(arg) -> send 'arg' into coroutine,
\n
return next
yield
ed value or raise StopIteration."
)},
(
char
*
)
PyDoc_STR
(
"send(arg) -> send 'arg' into coroutine,
\n
return next
iterat
ed value or raise StopIteration."
)},
{
"throw"
,
(
PyCFunction
)
__Pyx_Coroutine_Throw
,
METH_VARARGS
,
(
char
*
)
PyDoc_STR
(
"throw(typ[,val[,tb]]) -> raise exception in coroutine,
\n
return next
yield
ed value or raise StopIteration."
)},
(
char
*
)
PyDoc_STR
(
"throw(typ[,val[,tb]]) -> raise exception in coroutine,
\n
return next
iterat
ed value or raise StopIteration."
)},
{
"close"
,
(
PyCFunction
)
__Pyx_Coroutine_Close
,
METH_NOARGS
,
(
char
*
)
PyDoc_STR
(
"close() -> raise GeneratorExit inside coroutine."
)},
#if PY_VERSION_HEX < 0x030500B1
{
"__await__"
,
(
PyCFunction
)
__Pyx_Coroutine_await
,
METH_NOARGS
,
(
char
*
)
PyDoc_STR
(
""
)},
(
char
*
)
PyDoc_STR
(
"
__await__() -> return an iterator to be used in await expression.
"
)},
#endif
{
0
,
0
,
0
,
0
}
};
...
...
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