Lines Matching refs:prop
70 def __init__(self, prop, type=None): argument
71 self.prop = prop
77 return self.prop in obj.properties
84 self.prop, self.type))
87 obj.properties[self.prop] = None
89 if self.prop in obj.properties:
90 del obj.properties[self.prop]
102 def __init__(self, prop, default=None, none=None, type=None): argument
103 self.prop = prop
111 if self.prop in obj.properties:
112 value = obj.properties[self.prop]
125 self.prop, self.type))
127 if self.prop in obj.properties:
128 del obj.properties[self.prop]
130 obj.properties[self.prop] = None # Empty value, but present
132 obj.properties[self.prop] = value
135 if self.prop in obj.properties:
136 del obj.properties[self.prop]