Rename image for clarity.

This commit is contained in:
Tony S Yu
2013-10-21 23:02:50 -05:00
parent 3c33965b99
commit 1093139d62
+2 -2
View File
@@ -60,8 +60,8 @@ Pictures can be indexed like arrays
>>> picture[0:20, 0:20] = (0, 0, 0)
Saving the picture updates the path attribute, format, and modified state.
>>> picture.save('sample-bluegreen.jpg')
>>> print picture.path.endswith('sample-bluegreen.jpg')
>>> picture.save('save-demo.jpg')
>>> print picture.path.endswith('save-demo.jpg')
True
>>> print picture.format
jpeg