Skip to content

Commit 149409f

Browse files
authored
Merge pull request #180 from cclauss/patch-1
README.rst: Fix a bug in Python code
2 parents 0b65d6a + da4d23c commit 149409f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,5 +88,5 @@ Converting images:
8888
>>> img2.get_pixel_format()
8989
'yuv420p'
9090
>>> planes = img2.to_bytearray()
91-
>>> map(len, planes)
91+
>>> [len(plane) for plane in planes]
9292
[50000, 12500, 12500, 0]

0 commit comments

Comments
 (0)