Fix doctest syntax
This also had the power to crash newer pyflakes releases.
This commit is contained in:
parent
a946fa8f0d
commit
5f9641e201
2 changed files with 3 additions and 4 deletions
|
|
@ -30,8 +30,7 @@ class ValuesDict(OrderedDict):
|
|||
"""
|
||||
Ordered dictionarry which can take values in constructor.
|
||||
|
||||
>>> ValuesDict(Value('a', label='Test'),
|
||||
ValueInt('b', label='Test2'))
|
||||
>>> ValuesDict(Value('a', label='Test'), ValueInt('b', label='Test2'))
|
||||
"""
|
||||
def __init__(self, *values):
|
||||
OrderedDict.__init__(self)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue