title: csv.DictReader exception at end of file
body: <p>I am using the following code as a proof-of concept for parsing the <a href="http://www.fcc.gov/developer/license-view-api" rel="nofollow">FCC License View</a> sample <a href="http://data.fcc.gov/download/license-view/fcc-license-view-data-sample.csv" rel="nofollow">data set</a>:</p>
  
  <pre><code>import csv
  
  if __name__ == '__main__':
      csv_file = open('fcc-license-view-data-sample.csv', 'rb')
      dialect = csv.Sniffer().sniff(csv_file.read(1024))
      csv_file.seek(0)
      data = csv.DictReader(csv_file, dialect=dialect)
      for item in data:
          print item
  </code></pre>
  
  <p>After the module has printed all of the data, an exception is thrown:</p>
  
  <blockquote>
  <pre><code>File "C:\Python27\lib\csv.py", line 104, in next
  row = self.reader.next()
  </code></pre>
    
    <p>_csv.Error: newline inside string</p>
  </blockquote>
  
  <p>Why does this exception occur? How can I avoid it? </p>