mirror of
https://github.com/beetbox/beets.git
synced 2025-12-31 13:02:47 +01:00
trailing whitespace
This commit is contained in:
parent
ba2b22cac5
commit
84bbd14c76
1 changed files with 2 additions and 2 deletions
|
|
@ -42,13 +42,13 @@ except AttributeError:
|
|||
class AttrDict(dict):
|
||||
"""
|
||||
Dictionary with flexible attributes
|
||||
to get an tag value:
|
||||
to get an tag value:
|
||||
value = info.tag
|
||||
or value = info[tag]
|
||||
or value = info.get(tag)
|
||||
or value = getattr(info, tag)
|
||||
all raise AttributeError when info doesn't have tag
|
||||
to set a tag value:
|
||||
to set a tag value:
|
||||
info.tag = value
|
||||
or info[tag] = value
|
||||
or setattr(info, tag, value)
|
||||
|
|
|
|||
Loading…
Reference in a new issue