summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/csv.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/csv.rst b/Doc/library/csv.rst
index 7a997b0..7bbb7c1 100644
--- a/Doc/library/csv.rst
+++ b/Doc/library/csv.rst
@@ -97,7 +97,7 @@ The :mod:`csv` module defines the following functions:
>>> import csv
>>> spamWriter = csv.writer(open('eggs.csv', 'w'), delimiter=' ',
- ... quotechar='|', quoting=QUOTE_MINIMAL)
+ ... quotechar='|', quoting=csv.QUOTE_MINIMAL)
>>> spamWriter.writerow(['Spam'] * 5 + ['Baked Beans'])
>>> spamWriter.writerow(['Spam', 'Lovely Spam', 'Wonderful Spam'])