[Python] Fix docstring of Sim1D.restore

Resolves Issue 210.

Cherry-pick of trunk commit r2790.
This commit is contained in:
Ray Speth 2014-03-24 21:36:55 +00:00
parent 98d113182b
commit 5795f3fd55

View file

@ -771,7 +771,7 @@ cdef class Sim1D:
Amount of logging information to display while restoring,
from 0 (disabled) to 2 (most verbose).
>>> s.restore(filename='save.xml', id='energy_off')
>>> s.restore(filename='save.xml', name='energy_off')
"""
self.sim.restore(stringify(filename), stringify(name), loglevel)
self._initialized = True