#NEWLINE# def _scalar_property( fieldname ) : #NEWLINE# #INDENT# 'Create a property descriptor around the :class:`_PropertyMixin` helpers.\n    ' #NEWLINE# def _getter( self ) : #NEWLINE# #INDENT# 'Scalar property getter.' #NEWLINE# return self . _properties . get ( fieldname ) #NEWLINE# #UNINDENT# def _setter( self , value ) : #NEWLINE# #INDENT# 'Scalar property setter.' #NEWLINE# self . _patch_property ( fieldname , value ) #NEWLINE# #UNINDENT# return property ( _getter , _setter )