Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #93764 > unrolled thread
| Started by | Roel Schroeven <roel@roelschroeven.net> |
|---|---|
| First post | 2015-07-13 18:56 +0200 |
| Last post | 2015-07-13 18:56 +0200 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.lang.python
str.index() and str.find() versus only list.index() Roel Schroeven <roel@roelschroeven.net> - 2015-07-13 18:56 +0200
| From | Roel Schroeven <roel@roelschroeven.net> |
|---|---|
| Date | 2015-07-13 18:56 +0200 |
| Subject | str.index() and str.find() versus only list.index() |
| Message-ID | <mailman.470.1436806619.3674.python-list@python.org> |
Hi, Quick question: why does str have both index() and find(), while list only has index()? Is there a reason for that, or is it just an historical accident? Best regards, Roel -- The saddest aspect of life right now is that science gathers knowledge faster than society gathers wisdom. -- Isaac Asimov Roel Schroeven
Back to top | Article view | comp.lang.python
csiph-web