original_docstring:  This is 'module imported but not used'
      Able to handle this case:
          import os
  
      ...but not this:
          from os import listdir
      
docstring: This is 'module imported but not used'
  Able to handle this case:
  import os
  
  but not this:
  from os import listdir
docstring_tokens: This is ' module imported but not used ' Able to handle this case : import os but not this : from os import listdir
code: def handle_f401(fname, lineno):
      """ This is 'module imported but not used'
      Able to handle this case:
          import os
  
      ...but not this:
          from os import listdir
      """
      line = read_line(fname, lineno).strip()
      if line.startswith('import '):
          return True
      else:
          mods = line.partition(' import ')[2]  # everything after import
          return ',' not in mods
code_tokens: def handle_f401 ( fname , lineno ) : line = read_line ( fname , lineno ) . strip ( ) if line . startswith ( 'import ' ) : return True else : mods = line . partition ( ' import ' ) [ 2 ] return ',' not in mods
short_docstring: This is 'module imported but not used'
  Able to handle this case:
  import os
short_docstring_tokens: This is ' module imported but not used ' Able to handle this case : import os
comment: """ This is 'module imported but not used'
      Able to handle this case:
          import os
  
      ...but not this:
          from os import listdir
      """$SEP$# everything after import