mirror of
https://github.com/python/cpython.git
synced 2025-11-25 04:34:37 +00:00
Use simpler import
This commit is contained in:
parent
38fc837fa9
commit
ba887bb04e
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue