Skip to content

Commit d6d801d

Browse files
authored
Merge pull request #41 from jameshilliard/python-future
Fix bytes parsing when used with python-future
2 parents 23e458f + 992659a commit d6d801d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: bencoder.pyx

+1-1
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ cdef encode_long(x, list r):
125125
r.append(b'e')
126126

127127

128-
cdef encode_bytes(bytes x, list r):
128+
cdef encode_bytes(x, list r):
129129
r.append(str(len(x)).encode())
130130
r.append(b':')
131131
r.append(x)

0 commit comments

Comments
 (0)