Skip to content

Commit

Permalink
import ppft not pp
Browse files Browse the repository at this point in the history
  • Loading branch information
mmckerns committed May 12, 2021
1 parent 67c714b commit 785a84d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion pathos/helpers/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

from . import pp_helper
from . import mp_helper
import pp as parallelpython
import ppft as parallelpython

try:
import multiprocess as mp
Expand Down
4 changes: 2 additions & 2 deletions pathos/helpers/pp_helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@
except ValueError: pass
del HAS_FORK

from pp import _Task
from pp import Server
from ppft import _Task
from ppft import Server
import time
import dill as pickle
import threading
Expand Down
2 changes: 1 addition & 1 deletion pathos/profile.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@
In many cases, profiling in another thread is not necessary, and either of
the following can be sufficient/better for timing and profiling::
$ python -c "import time; s=time.time(); import pathos; print time.time()-s"
$ python -c "import time; s=time.time(); import pathos; print (time.time()-s)"
$ python -c "import cProfile; p=cProfile.Profile(); p.enable(); import pathos; p.print_stats('cumulative')"
This module was inspired by: http://stackoverflow.com/a/32522579/4646678.
Expand Down

0 comments on commit 785a84d

Please sign in to comment.