Skip to content

Commit 74f6ce8

Browse files
committed
remove python 2 pickle
1 parent 33b05b6 commit 74f6ce8

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

neo/io/pickleio.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,8 @@
1010
Authors: Andrew Davison
1111
"""
1212

13-
try:
14-
import cPickle as pickle # Python 2
15-
except ImportError:
16-
import pickle # Python 3
13+
14+
import pickle # Python 3
1715

1816
from neo.io.baseio import BaseIO
1917
from neo.core import (Block, Segment,

0 commit comments

Comments
 (0)