code: def mainClassDoc():
      
      def decorator(f):
          # __doc__ is only writable in python3.
          # The doc build must be done with python3 so this snnippet do the work
          py_version = platform.python_version()
          if py_version[0] == "3":
              doc = f.__doc__.split(os.linesep)
              try:
                  ind = doc.index("")
              except ValueError:
                  ind = 1
  
              doc1 = os.linesep.join(doc[:ind])
              doc3 = os.linesep.join(doc[ind:])
              doc2 = os.linesep.join(MEoS.__doc__.split(os.linesep)[3:])
  
              f.__doc__ = doc1 + os.linesep + os.linesep + \
                  doc2 + os.linesep + os.linesep + doc3
          return f
  
      return decorator
docs: Function decorator used to automatic adiction of base class MEoS in
      subclass __doc__