[Python] Fix docstring of Sim1D.restore
Resolves Issue 210.
This commit is contained in:
parent
6a51eb88dc
commit
98c480c7c7
1 changed files with 1 additions and 1 deletions
|
|
@ -778,7 +778,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