Skip to content

Commit 1493fbf

Browse files
committed
Fix docs
1 parent f09fa8a commit 1493fbf

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
Fixed a bug in :meth:mmap.mmap.flush where calling with only an offset
1+
Fixed a bug in :meth:`mmap.mmap.flush` where calling with only an offset
22
parameter would fail.

Modules/mmapmodule.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -952,7 +952,7 @@ mmap_mmap_flush_impl(mmap_object *self, Py_ssize_t offset, Py_ssize_t size)
952952
{
953953
CHECK_VALID(NULL);
954954

955-
/* If size is -1 (default), calculate size from offset to end */
955+
// If size is -1 (default), calculate size from offset to end.
956956
if (size == -1) {
957957
size = self->size - offset;
958958
}

0 commit comments

Comments
 (0)