Update the property values as specified by keyword/value. @param other: An object to update from. @type other: (dict|L{Properties}) @return: self @rtype: L{Properties}
(self, other)
| 245 | return d |
| 246 | |
| 247 | def update(self, other): |
| 248 | """ |
| 249 | Update the property values as specified by keyword/value. |
| 250 | @param other: An object to update from. |
| 251 | @type other: (dict|L{Properties}) |
| 252 | @return: self |
| 253 | @rtype: L{Properties} |
| 254 | """ |
| 255 | if isinstance(other, Properties): |
| 256 | other = other.defined |
| 257 | for n, v in other.items(): |
| 258 | self.set(n, v) |
| 259 | return self |
| 260 | |
| 261 | def notset(self, name): |
| 262 | """ |