def process_class(c_name, obj, c_sk, c_md, c_mdt, c_idt, c_has_doctest, mod_path, sph, sphinx=True):
 if c_name.startswith('_'):
  c_sk.append(c_name)
  return (False, False, None)
 c = False
 c_dt = False
 try:
  (source, line_no) = inspect.getsourcelines(obj)
 except IOError:
  return (False, False, None)
 c = True
 full_name = ('LINE %d: %s' % (line_no, c_name))
 if (not obj.__doc__):
  c_md.append(full_name)
 elif (not ('>>>' in obj.__doc__)):
  c_mdt.append(full_name)
 elif _is_indirect(c_name, obj.__doc__):
  c_idt.append(full_name)
 else:
  c_dt = True
  c_has_doctest.append(full_name)
 in_sphinx = False
 if sphinx:
  in_sphinx = find_sphinx(c_name, mod_path)
 if (not in_sphinx):
  sph.append(full_name)
 return (c_dt, c, source)

def process_class ( c_name , obj , c_sk , c_md , c_mdt , c_idt , c_has_doctest , mod_path , sph , sphinx = True ) : if c_name . startswith ( '_' ) : c_sk . append ( c_name ) return ( False , False , None ) c = False c_dt = False try : ( source , line_no ) = inspect . getsourcelines ( obj ) except IOError : return ( False , False , None ) c = True full_name = ( 'LINE %d: %s' % ( line_no , c_name ) ) if ( not obj . __doc__ ) : c_md . append ( full_name ) elif ( not ( '>>>' in obj . __doc__ ) ) : c_mdt . append ( full_name ) elif _is_indirect ( c_name , obj . __doc__ ) : c_idt . append ( full_name ) else : c_dt = True c_has_doctest . append ( full_name ) in_sphinx = False if sphinx : in_sphinx = find_sphinx ( c_name , mod_path ) if ( not in_sphinx ) : sph . append ( full_name ) return ( c_dt , c , source )
extracts information about the class regarding documentation .