Skip to content

Commit 727207e

Browse files
Merge pull request #1272 from h-mayorquin/remove_python_2_stuff
Remove pickle python 2 library
2 parents 8ec656d + 0fd4f4e commit 727207e

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
1715

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

0 commit comments

Comments
 (0)