![]() |
От: |
kochetkov.vladimir
|
https://kochetkov.github.io |
Дата: | 10.10.09 20:38 | ||
Оценка: | 33 (8) |
class wildcard:
def __cmp__(self, other):
return 0
a = [('string1', 2, 3.14), (4, 'string2', 2.7)]
_ = wildcard()
if a == [(_, 2, _), (4, 'string2', _)] :
print 'equal'
else:
print 'not equal'