summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorAndrew M. Kuchling <amk@amk.ca>2003-04-13 21:13:02 (GMT)
committerAndrew M. Kuchling <amk@amk.ca>2003-04-13 21:13:02 (GMT)
commitba887bb04e7d2c8d5675b5586883d559cbb62b87 (patch)
treeba1609600606caba418c485b3e3e12504ec591a4 /Doc
parent38fc837fa94afc71db9436b725df68c4cf5efda8 (diff)
downloadcpython-ba887bb04e7d2c8d5675b5586883d559cbb62b87.zip
cpython-ba887bb04e7d2c8d5675b5586883d559cbb62b87.tar.gz
cpython-ba887bb04e7d2c8d5675b5586883d559cbb62b87.tar.bz2
Use simpler import
Diffstat (limited to 'Doc')
-rw-r--r--Doc/whatsnew/whatsnew23.tex2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/whatsnew/whatsnew23.tex b/Doc/whatsnew/whatsnew23.tex
index c1e9b32..d32b1c2 100644
--- a/Doc/whatsnew/whatsnew23.tex
+++ b/Doc/whatsnew/whatsnew23.tex
@@ -857,7 +857,7 @@ A big ugly regular expression can parse this, but using the new
\module{csv} package is much simpler:
\begin{verbatim}
-from csv import csv
+import csv
input = open('datafile', 'rb')
reader = csv.reader(input)