[Python-checkins] r70879 - in python/trunk: Lib/test/test_mmap.py Modules/mmapmodule.c
ocean-city at m2.ccsnet.ne.jp
Tue Mar 31 22:35:39 CEST 2009
>Imports should usually be on separate lines, e.g.:
> Yes: import os
> import sys
> No: import sys, os
Yes, but "import os, re" was already there, I followed to it.
I don't think it is so big deal... is it?
Really required modification was, movement of m.close().
>>> import mmap
>>> m = mmap.mmap(-1, 100)
>>> m.move(0, 0, 1)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ValueError: mmap closed or invalid
m.move() raises ValueError, but its meaning differs.
More information about the Python-checkins