Show More
@@ -978,6 +978,8 b' class List(Instance):' | |||
|
978 | 978 | args = ((),) |
|
979 | 979 | elif isinstance(default_value, SequenceTypes): |
|
980 | 980 | args = (default_value,) |
|
981 | else: | |
|
982 | raise TypeError('default value of List was %s' % default_value) | |
|
981 | 983 | |
|
982 | 984 | super(List,self).__init__(klass=list, args=args, |
|
983 | 985 | allow_none=allow_none, **metadata) |
General Comments 0
You need to be logged in to leave comments.
Login now