summaryrefslogtreecommitdiff
path: root/smmap
diff options
context:
space:
mode:
Diffstat (limited to 'smmap')
-rw-r--r--smmap/buf.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/smmap/buf.py b/smmap/buf.py
index ad27b69..731b064 100644
--- a/smmap/buf.py
+++ b/smmap/buf.py
@@ -93,7 +93,7 @@ class SlidingWindowMapBuffer:
d = d.tobytes()
md.append(d)
# END while there are bytes to read
- return bytes().join(md)
+ return b''.join(md)
# END fast or slow path
#{ Interface