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
6710c561
Commit
6710c561
authored
Jul 02, 2015
by
Jason Madden
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
spawn_raw really doesn't take keywords so don't include it in the signature. Fixes #486.
parent
18d7c7d4
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
gevent/hub.py
gevent/hub.py
+2
-2
No files found.
gevent/hub.py
View file @
6710c561
...
...
@@ -63,10 +63,10 @@ get_ident = thread.get_ident
MAIN_THREAD
=
get_ident
()
def
spawn_raw
(
function
,
*
args
,
**
kwargs
):
def
spawn_raw
(
function
,
*
args
):
hub
=
get_hub
()
g
=
greenlet
(
function
,
hub
)
hub
.
loop
.
run_callback
(
g
.
switch
,
*
args
,
**
kwargs
)
hub
.
loop
.
run_callback
(
g
.
switch
,
*
args
)
return
g
...
...
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