diff options
author | Alexander Sulfrian <alexander@sulfrian.net> | 2016-01-30 04:18:31 +0100 |
---|---|---|
committer | Alexander Sulfrian <alexander@sulfrian.net> | 2016-02-02 04:23:19 +0100 |
commit | c6caa836b4fc897b6327fb573cbbcd67764d1cbd (patch) | |
tree | 02c161382d31f1bf5f2cea81d0e4399dbc04dccc /requirements.txt | |
parent | b83ad9d369c21662b0e26dad1e704d3b768b631a (diff) | |
download | web-c6caa836b4fc897b6327fb573cbbcd67764d1cbd.tar.gz web-c6caa836b4fc897b6327fb573cbbcd67764d1cbd.tar.bz2 web-c6caa836b4fc897b6327fb573cbbcd67764d1cbd.zip |
Account: Support direct setting of attributes
Direct access to additional attributes was possible before, but setting
the same value, created a new local property:
>>> acc = Account(...)
>>> acc.mail == acc.attributes['mail']
True
>>> acc.mail = "foobar"
>>> acc.mail == acc.attributes['mail']
False
Not also assignments are possible and all assignments to unknown
properties will create new attributes.
Diffstat (limited to 'requirements.txt')
0 files changed, 0 insertions, 0 deletions