def gather_symptoms():
 symptoms = []
 for module in SYMPTOM_MODULES:
  for name in dir(module):
   if name.startswith(SYMPTOM_PREFIX):
    symptoms.append(getattr(module, name))
 return symptoms

def gather_symptoms ( ) : symptoms = [ ] for module in SYMPTOM_MODULES : for name in dir ( module ) : if name . startswith ( SYMPTOM_PREFIX ) : symptoms . append ( getattr ( module , name ) ) return symptoms
gather all of the objects in this module that are named symptom_* .