File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed
Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -1171,7 +1171,7 @@ def test_flush_parameters(self):
11711171 if hasattr (mmap , 'MS_ASYNC' ):
11721172 m .flush (flags = mmap .MS_ASYNC )
11731173 if hasattr (mmap , 'MS_INVALIDATE' ):
1174- m .flush (PAGESIZE * 2 , mmap .MS_INVALIDATE )
1174+ m .flush (PAGESIZE * 2 , flags = mmap .MS_INVALIDATE )
11751175 if hasattr (mmap , 'MS_ASYNC' ) and hasattr (mmap , 'MS_INVALIDATE' ):
11761176 m .flush (0 , PAGESIZE , flags = mmap .MS_ASYNC | mmap .MS_INVALIDATE )
11771177 @unittest .skipUnless (sys .platform == 'linux' , 'Linux only' )
Original file line number Diff line number Diff line change @@ -1034,6 +1034,7 @@ mmap.mmap.flush
10341034 offset: Py_ssize_t = 0
10351035 size: Py_ssize_t = -1
10361036 /
1037+ *
10371038 flags: int = 0
10381039
10391040[clinic start generated code]*/
You can’t perform that action at this time.
0 commit comments