def possible_filename(filename):
 if isinstance(filename, six.text_type):
  return True
 elif isinstance(filename, six.binary_type):
  return (not ((sys.platform == u'win32') and (sys.version_info[:2] >= (3, 3))))
 return False

def possible_filename ( filename ) : if isinstance ( filename , six . text_type ) : return True elif isinstance ( filename , six . binary_type ) : return ( not ( ( sys . platform == u'win32' ) and ( sys . version_info [ : 2 ] >= ( 3 , 3 ) ) ) ) return False
determine if the filename argument is an allowable type for a filename .