[Python] Fix docstring of Sim1D.restore
Resolves Issue 210. Cherry-pick of trunk commit r2790.
This commit is contained in:
parent
98d113182b
commit
5795f3fd55
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue