# HG changeset patch # User Bryce Verdier # Date 1304625429 25200 # Node ID bb1478f0eafc5edd3d18a9cf229f3f5f0af2c5fc # Parent 18e43c6acfff4f5e762b2e1cf0a8bdb82225f897 Fixed missing '\n' in the documentation diff -r 18e43c6acfff -r bb1478f0eafc Doc/library/functions.rst --- a/Doc/library/functions.rst Wed May 04 12:47:14 2011 -0700 +++ b/Doc/library/functions.rst Thu May 05 12:57:09 2011 -0700 @@ -652,7 +652,7 @@ until ``"STOP"`` is reached: :: with open("mydata.txt") as fp: - for line in iter(fp.readline, "STOP"): + for line in iter(fp.readline, "STOP\n"): process_line(line)