code: def get_topclasses(cls):
      
      bases = [c for c in inspect.getmro(cls)
               if c.__module__.startswith('pycbc') and c != cls]
      return ', '.join(['{}.{}'.format(c.__module__, c.__name__) for c in bases])
docs: Gets the base classes that are in pycbc.