parameters: (cdescriptor)
return_statement: return property(Getter, Setter)
docstring: Returns a scalar property for the given descriptor.
docstring_summary: Returns a scalar property for the given descriptor.
docstring_tokens: Returns a scalar property for the given descriptor .
function: def ScalarProperty(cdescriptor):
    """Returns a scalar property for the given descriptor."""
  
    def Getter(self):
      return self._cmsg.GetScalar(cdescriptor)
  
    def Setter(self, value):
      self._cmsg.SetScalar(cdescriptor, value)
  
    return property(Getter, Setter)
function_tokens: def ScalarProperty ( cdescriptor ) : def Getter ( self ) : return self . _cmsg . GetScalar ( cdescriptor ) def Setter ( self , value ) : self . _cmsg . SetScalar ( cdescriptor , value ) return property ( Getter , Setter )