comparing with /Volumes/ScratchRaid/jszakmeister-scratch/projects/python/trunk searching for changes changeset: 42216:b6f53a1f38bf branch: trunk tag: tip user: jszakmeister@yoda.local date: Sat Jun 06 06:09:32 2009 -0400 summary: Fix issue #6220: correct the spelling of "opne" in doanddont.rst diff -r 01efddea3819 -r b6f53a1f38bf Doc/howto/doanddont.rst --- a/Doc/howto/doanddont.rst Sat Jun 06 07:54:34 2009 +0200 +++ b/Doc/howto/doanddont.rst Sat Jun 06 06:09:32 2009 -0400 @@ -150,7 +150,7 @@ The following code shows a great example:: try: - foo = opne("file") # misspelled "open" + foo = open("file") # misspelled "open" except: sys.exit("could not open file!") @@ -161,7 +161,7 @@ The example above is better written :: try: - foo = opne("file") # will be changed to "open" as soon as we run it + foo = open("file") # will be changed to "open" as soon as we run it except IOError: sys.exit("could not open file")