From 211a4bc2647ebeb7078214c80a112f2d497f9949 Mon Sep 17 00:00:00 2001 From: Mark Pilgrim Date: Fri, 25 Sep 2009 22:16:42 -0400 Subject: [PATCH] typo "image.read" --> "an_image.read" --- files.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/files.html b/files.html index ec5e3ed..d7deacf 100644 --- a/files.html +++ b/files.html @@ -341,12 +341,12 @@ AttributeError: '_io.BufferedReader' object has no attribute 'encoding'>>> an_image.tell() 0 ->>> data = image.read(3) +>>> data = an_image.read(3) >>> data b'\xff\xd8\xff' ->>> type(data) +>>> type(data) <class 'bytes'> ->>> an_image.tell() +>>> an_image.tell() 3 >>> an_image.seek(0) 0