Update docstring examples
This commit is contained in:
parent
cfe4920df3
commit
dd4f55c1fe
@ -159,7 +159,7 @@ class Repository(Hierarchy):
|
|||||||
|
|
||||||
Example
|
Example
|
||||||
-------
|
-------
|
||||||
>>> repo = Repository('/tmp')
|
>>> repo = Repository('backup')
|
||||||
>>> repo.snapshots
|
>>> repo.snapshots
|
||||||
[]
|
[]
|
||||||
>>> repo.create_snapshot() # doctest: +ELLIPSIS
|
>>> repo.create_snapshot() # doctest: +ELLIPSIS
|
||||||
@ -179,7 +179,7 @@ class Repository(Hierarchy):
|
|||||||
|
|
||||||
Example
|
Example
|
||||||
-------
|
-------
|
||||||
>>> repo = Repository('/tmp')
|
>>> repo = Repository('backup')
|
||||||
>>> repo.empty
|
>>> repo.empty
|
||||||
True
|
True
|
||||||
>>> repo.create_snapshot() # doctest: +ELLIPSIS
|
>>> repo.create_snapshot() # doctest: +ELLIPSIS
|
||||||
|
Loading…
x
Reference in New Issue
Block a user