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
6dda830a
Commit
6dda830a
authored
Jan 15, 2018
by
Felix Yan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
correct a typo in src/gevent/greenlet.py
parent
debb8d83
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/gevent/greenlet.py
src/gevent/greenlet.py
+1
-1
No files found.
src/gevent/greenlet.py
View file @
6dda830a
...
...
@@ -322,7 +322,7 @@ class Greenlet(greenlet):
return
(
e
[
0
],
e
[
1
],
load_traceback
(
e
[
2
]))
def
throw
(
self
,
*
args
):
"""Immediatel
l
y switch into the greenlet and raise an exception in it.
"""Immediately switch into the greenlet and raise an exception in it.
Should only be called from the HUB, otherwise the current greenlet is left unscheduled forever.
To raise an exception in a safe manner from any greenlet, use :meth:`kill`.
...
...
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