8000 Remove various Python 2.6 related workarounds by jenshnielsen · Pull Request #5373 · matplotlib/matplotlib · GitHub
[go: up one dir, main page]

Skip to content

Remove various Python 2.6 related workarounds #5373

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 8 commits into from
Nov 5, 2015
Prev Previous commit
Next Next commit
Remove pre python2.6 workaround in multiprocess example
  • Loading branch information
jenshnielsen committed Oct 31, 2015
commit f33c490bb7b49c28cc1e9721cdb9d06e74524342
7 changes: 1 addition & 6 deletions examples/misc/multiprocess.py
Original file line number Diff line number Diff line change
@@ -1,15 +1,10 @@
# Demo of using multiprocessing for generating data in one process and plotting
# in another.
# Written by Robert Cimrman
# Requires >= Python 2.6 for the multiprocessing module or having the
# standalone processing module installed

from __future__ import print_function
import time
try:
from multiprocessing import Process, Pipe
except ImportError:
from processing import Process, Pipe
from multiprocessing import Process, Pipe
import numpy as np

import matplotlib
Expand Down
0