diff --git a/Doc/library/csv.rst b/Doc/library/csv.rst index f19574b273f..8848756df80 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'])