Show More
@@ -2967,6 +2967,8 b' class baseset(abstractsmartset):' | |||||
2967 | """ |
|
2967 | """ | |
2968 | def __init__(self, data=()): |
|
2968 | def __init__(self, data=()): | |
2969 | if not isinstance(data, list): |
|
2969 | if not isinstance(data, list): | |
|
2970 | if isinstance(data, set): | |||
|
2971 | self._set = data | |||
2970 | data = list(data) |
|
2972 | data = list(data) | |
2971 | self._list = data |
|
2973 | self._list = data | |
2972 | self._ascending = None |
|
2974 | self._ascending = None |
General Comments 0
You need to be logged in to leave comments.
Login now