Fix docstring of memit and repeat function calling

Thanks Mikhail Korobov for submitting the report.
0.25 release