Skip to content

Commit 5aed334

Browse files
committed
Updated docs example
1 parent 41c0835 commit 5aed334

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

docs/index.rst

+2-3
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ Example:
1717
:caption: snapshot-demo.py
1818
1919
from vix import VixHost, VixError
20-
from vix.VixVM import VIX_SNAPSHOT_INCLUDE_MEMORY
2120
2221
host = VixHost()
2322
host.connect()
@@ -27,8 +26,8 @@ Example:
2726
2827
snapshot = vm.create_snapshot(
2928
'Todays Snapshot',
30-
'Just testing vix',
31-
VIX_SNAPSHOT_INCLUDE_MEMORY
29+
'Just testing vix',
30+
include_memory=True
3231
)
3332
3433
print("Made snapshot!")

0 commit comments

Comments
 (0)