Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gevent
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
gevent
Commits
0e26d73a
Commit
0e26d73a
authored
Aug 16, 2009
by
Denis Bilenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
core.pyx: minor docstring change
parent
6645a704
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
gevent/core.pyx
gevent/core.pyx
+4
-1
No files found.
gevent/core.pyx
View file @
0e26d73a
...
...
@@ -314,7 +314,7 @@ cdef class signal(event):
cdef
class
active_event
(
event
):
"""An event that is scheduled to run in
_this_
loop iteration"""
"""An event that is scheduled to run in
the current
loop iteration"""
def
__init__
(
self
,
callback
,
*
args
,
**
kwargs
):
self
.
_callback
=
callback
...
...
@@ -331,6 +331,7 @@ def init():
"""Initialize event queue."""
event_init
()
def
dispatch
():
"""Dispatch all events on the event queue.
Returns 0 on success, and 1 if no events are registered.
...
...
@@ -343,6 +344,7 @@ def dispatch():
raise
IOError
(
errno
,
strerror
(
errno
))
return
ret
def
loop
(
nonblock
=
False
):
"""Dispatch all pending events on queue in a single pass.
Returns 0 on success, and 1 if no events are registered.
...
...
@@ -362,6 +364,7 @@ def loop(nonblock=False):
def
get_version
():
return
event_get_version
()
def
get_method
():
return
event_get_method
()
...
...
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