Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #68185 > unrolled thread
| Started by | Skip Montanaro <skip@pobox.com> |
|---|---|
| First post | 2014-03-10 19:30 -0500 |
| Last post | 2014-03-10 19:30 -0500 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.lang.python
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: when to use == and when to use is Skip Montanaro <skip@pobox.com> - 2014-03-10 19:30 -0500
| From | Skip Montanaro <skip@pobox.com> |
|---|---|
| Date | 2014-03-10 19:30 -0500 |
| Subject | Re: when to use == and when to use is |
| Message-ID | <mailman.8030.1394497827.18130.python-list@python.org> |
I agree with Ben. In this particular case, it seems you really should be using "==" unless obj_0, obj_1, and obj_2 are sentinels. Skip
Back to top | Article view | comp.lang.python
csiph-web