Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 2ceedc9

Browse files
committed
Remove basestring reference, no py2 support
1 parent b22f159 commit 2ceedc9

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

smmap/util.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,7 @@ def buffer(obj, offset, size):
2323

2424

2525
def string_types():
26-
if sys.version_info[0] >= 3:
27-
return str
28-
else:
29-
return basestring
30-
26+
return str
3127

3228
def align_to_mmap(num, round_up):
3329
"""

0 commit comments

Comments
 (0)