def get_monitor_doc(var):
 doc = None
 if (var.__doc__ is not var.__class__.__doc__):
  doc = var.__doc__
 return doc

def get_monitor_doc ( var ) : doc = None if ( var . __doc__ is not var . __class__ . __doc__ ) : doc = var . __doc__ return doc
returns the __doc__ field of var or none .