diff --git a/Doc/library/csv.rst b/Doc/library/csv.rst index 89494656959..896b0271d77 100644 --- a/Doc/library/csv.rst +++ b/Doc/library/csv.rst @@ -117,7 +117,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'])