diff options
author | Mark Dickinson <dickinsm@gmail.com> | 2009-02-21 20:27:01 (GMT) |
---|---|---|
committer | Mark Dickinson <dickinsm@gmail.com> | 2009-02-21 20:27:01 (GMT) |
commit | 3e4caeb3bf2b2579861e9f3379e3508fbb30549c (patch) | |
tree | 05385e9530059fe3608194b2e8d6f9e57d797220 /Objects/abstract.c | |
parent | a12a86e956f949bd145cef247a95ed742386c70b (diff) | |
download | cpython-3e4caeb3bf2b2579861e9f3379e3508fbb30549c.zip cpython-3e4caeb3bf2b2579861e9f3379e3508fbb30549c.tar.gz cpython-3e4caeb3bf2b2579861e9f3379e3508fbb30549c.tar.bz2 |
Issue #5341: Fix a variety of spelling errors.
Diffstat (limited to 'Objects/abstract.c')
-rw-r--r-- | Objects/abstract.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/abstract.c b/Objects/abstract.c index ee744de..c67581e 100644 --- a/Objects/abstract.c +++ b/Objects/abstract.c @@ -2258,7 +2258,7 @@ PySequence_Fast(PyObject *v, const char *m) /* Iterate over seq. Result depends on the operation: PY_ITERSEARCH_COUNT: -1 if error, else # of times obj appears in seq. - PY_ITERSEARCH_INDEX: 0-based index of first occurence of obj in seq; + PY_ITERSEARCH_INDEX: 0-based index of first occurrence of obj in seq; set ValueError and return -1 if none found; also return -1 on error. Py_ITERSEARCH_CONTAINS: return 1 if obj in seq, else 0; -1 on error. */ |