Skip to content

Commit 38d8235

Browse files
committed
RF: use native versions of callable, io classes
Use native versions rather using using versions from 'six'.
1 parent 78c9b61 commit 38d8235

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

nibabel/benchmarks/bench_load_save.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919

2020
import numpy as np
2121

22-
from six import BytesIO
22+
from io import BytesIO
2323

2424
from .. import Nifti1Image
2525

nibabel/gifti/parse_gifti_fast.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
import sys
1313
import warnings
1414
import zlib
15-
from six import StringIO
15+
from io import StringIO
1616
from xml.parsers.expat import ExpatError
1717

1818
import numpy as np

nibabel/optpkg.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
""" Routines to support optional packages """
22
from distutils.version import LooseVersion
33

4-
from six import string_types, callable
4+
from six import string_types
55

66
try:
77
import nose

0 commit comments

Comments
 (0)