code: def get_localized_docstring(obj, domain):
      
      if obj.__class__.__doc__ is not None:
          return inspect.cleandoc(
              gettext.dgettext(domain, obj.__class__.__doc__))
docs: Get a cleaned-up, localized copy of docstring of this class.