This is documentation for an old release of NumPy (version 1.5.). Read this page in the documentation of the latest stable release (version > 1.17).

numpy.memmap.sync

memmap.sync()

This method is deprecated, use flush.

This Page