def __named_property_def(DOMname):
 CSSname = _toCSSname(DOMname)
 def _get(self):
  return self._getP(CSSname)
 def _set(self, value):
  self._setP(CSSname, value)
 def _del(self):
  self._delP(CSSname)
 return (_get, _set, _del)

def __named_property_def ( DOMname ) : CSSname = _toCSSname ( DOMname ) def _get ( self ) : return self . _getP ( CSSname ) def _set ( self , value ) : self . _setP ( CSSname , value ) def _del ( self ) : self . _delP ( CSSname ) return ( _get , _set , _del )
closure to keep name known in each properties accessor function domname is converted to cssname here .