Skip to content

Commit

Permalink
remove py2 fallbacks cPickle and __builtin__
Browse files Browse the repository at this point in the history
  • Loading branch information
pijyoi committed Mar 7, 2022
1 parent 1f02652 commit c422db0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 12 deletions.
6 changes: 1 addition & 5 deletions pyqtgraph/multiprocess/processes.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,7 @@
import subprocess
import sys
import time

try:
import cPickle as pickle
except ImportError:
import pickle
import pickle

from ..Qt import QT_LIB, mkQApp
from ..util import cprint # color printing for debugging
Expand Down
9 changes: 2 additions & 7 deletions pyqtgraph/multiprocess/remoteproxy.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,11 @@
import traceback
import warnings
import weakref
import builtins
import pickle

import numpy as np

try:
import __builtin__ as builtins
import cPickle as pickle
except ImportError:
import builtins
import pickle

# color printing for debugging
from ..util import cprint

Expand Down

0 comments on commit c422db0

Please sign in to comment.