summaryrefslogtreecommitdiff
path: root/smmap
diff options
context:
space:
mode:
authorSebastian Thiel <sebastian.thiel@icloud.com>2022-11-17 14:42:49 +0100
committerGitHub <noreply@github.com>2022-11-17 14:42:49 +0100
commit5cfacac6c67f2130ae56eb2a0ef16b2a3c7c843d (patch)
tree6ab5cae13002d0d9b7c4e07945827273dc3564f0 /smmap
parent334ef84a05c953ed5dbec7b9c6d4310879eeab5a (diff)
parent0370014ee74a0f4480127932a78f177f6f433b9e (diff)
downloadsmmap-master.tar.gz
Merge pull request #48 from hugovk/masterHEADmaster
Add support for Python 3.11
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