This class is used to check the 5th argument (dict iterator) of the reduce protocol.
| 169 | return type(self), (), None, iter(self.items), None |
| 170 | |
| 171 | class REX_seven(object): |
| 172 | """This class is used to check the 5th argument (dict iterator) of |
| 173 | the reduce protocol. |
| 174 | """ |
| 175 | def __init__(self, table=None): |
| 176 | self.table = table if table is not None else {} |
| 177 | def __eq__(self, other): |
| 178 | return type(self) is type(other) and self.table == other.table |
| 179 | def __setitem__(self, key, value): |
| 180 | self.table[key] = value |
| 181 | def __reduce__(self): |
| 182 | return type(self), (), None, None, iter(self.table.items()) |
| 183 | |
| 184 | class REX_state(object): |
| 185 | """This class is used to check the 3th argument (state) of |
no outgoing calls
searching dependent graphs…