parameters: (self, **kw)
return_statement: return self._edit(**kw)
docstring: Override the edit method to register page template values
docstring_summary: Override the edit method to register page template values
docstring_tokens: Override the edit method to register page template values
function: def edit(self, **kw):
      """
      Override the edit method to register page template values
      """
      if kw.get('data'):
        self.pt_edit(text=kw['data'], content_type=kw['content_type'])
      return self._edit(**kw)
function_tokens: def edit ( self , * * kw ) : if kw . get ( 'data' ) : self . pt_edit ( text = kw [ 'data' ] , content_type = kw [ 'content_type' ] ) return self . _edit ( * * kw )