Skip to content

Commit 0b7ac44

Browse files
Daniel David BuscombeDaniel David Buscombe
authored andcommitted
c
1 parent d6deea8 commit 0b7ac44

File tree

4 files changed

+24
-24
lines changed

4 files changed

+24
-24
lines changed

PyHum/pyread.c

Lines changed: 11 additions & 11 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

PyHum/pyread.pyx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ cdef class pyread:
190190
#dat = arr(typ)
191191
dat.fromfile(infile, num)
192192
if typ == 'c': #character
193-
return(list(dat.tobytes())) #''.join(dat.tolist())))
193+
return(list(dat.tostring())) #''.join(dat.tolist())))
194194
elif num == 1: # only 1 byte
195195
return(list(dat))
196196
else:

PyHum/pyread_single.c

Lines changed: 11 additions & 11 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

PyHum/pyread_single.pyx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ cdef class pyread:
195195
#dat = arr(typ)
196196
dat.fromfile(infile, num)
197197
if typ == 'c': #character
198-
return(list(dat.tobytes())) #''.join(dat.tolist())))
198+
return(list(dat.tostring())) #''.join(dat.tolist())))
199199
elif num == 1: # only 1 byte
200200
return(list(dat))
201201
else:

0 commit comments

Comments
 (0)