Correct some parts of the docs added in
32032ee376 that weren't
written by me.
Return the length of the file, which can be larger than the size of the
memory-mapped area.
- For anonymous mapping, return its size.
+ For an anonymous mapping, return its size.
.. versionchanged:: next
- Supports anonymous mapping on Unix.
+ Anonymous mappings are now supported on Unix.
.. method:: tell()
The :meth:`~mmap.mmap.size` method of the :class:`mmap.mmap` class now
returns the size of an anonymous mapping on both Unix and Windows.
Previously, the size would be returned on Windows and an :exc:`OSError`
-would be raised on Unix.
-Raise :exc:`ValueError` instead of :exc:`OSError` with ``trackfd=False``.
+would be raised on Unix. :exc:`ValueError` is now raised instead of
+:exc:`OSError` when ``trackfd=False``.