code: def sphinx(self):
          
          if callable(self.default):
              default_val = self.default()
              default_str = 'new instance of {}'.format(
                  default_val.__class__.__name__
              )
          else:
              default_val = self.default
              default_str = '{}'.format(self.default)
          try:
              if default_val is None or default_val is undefined:
                  default_str = ''
              elif len(default_val) == 0:                                        #pylint: disable=len-as-condition
                  default_str = ''
              else:
                  default_str = ', Default: {}'.format(default_str)
          except TypeError:
              default_str = ', Default: {}'.format(default_str)
  
          prop_doc = super(Property, self).sphinx()
          return '{doc}{default}'.format(doc=prop_doc, default=default_str)
docs: Basic docstring formatted for Sphinx docs