finish renaming type properties to type_. Fixes #7222

This commit is contained in:
Yann Leboulanger 2012-08-24 10:37:24 +02:00
parent 30d033c7c3
commit 1b870be4e7
1 changed files with 2 additions and 2 deletions

View File

@ -132,7 +132,7 @@ class DataField(ExtendedNode):
self.options = options
@nested_property
def type():
def type_():
"""
Type of field. Recognized values are: 'boolean', 'fixed', 'hidden',
'jid-multi', 'jid-single', 'list-multi', 'list-single', 'text-multi',
@ -598,7 +598,7 @@ class DataForm(ExtendedNode):
self.instructions=instructions
@nested_property
def type():
def type_():
"""
Type of the form. Must be one of: 'form', 'submit', 'cancel', 'result'.
'form' - this form is to be filled in; you will be able soon to do: