![]() |
Available news archives:
comp.lang.tcl
-
comp.lang.python
-
comp.security.firewalls
-
sci.crypt -
comp.lang.php -
comp.lang.javascript
|
|
comp.lang.python archiveRe: test whether 2 objects are equal
From: Rene Pijlman <reply.in.the.newsgroup@my.address.is.invalid>
Date: Tue Jan 31 2006 - 11:44:22 CET
Yves Glodt:
This prints "equal":
class Test(object):
test1 = Test()
test2 = Test()
if test1 == test2:
-- René PijlmanReceived on Tue Feb 7 20:19:45 2006 |