[Python-checkins] cpython: Fix typo in the PyUnicode_Find() implementation
antoine.pitrou
python-checkins at python.org
Sun Oct 9 00:36:55 CEST 2011
http://hg.python.org/cpython/rev/da0dd6a96768
changeset: 72815:da0dd6a96768
user: Antoine Pitrou <solipsis at pitrou.net>
date: Sun Oct 09 00:33:09 2011 +0200
summary:
Fix typo in the PyUnicode_Find() implementation
files:
Objects/unicodeobject.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Objects/unicodeobject.c b/Objects/unicodeobject.c
--- a/Objects/unicodeobject.c
+++ b/Objects/unicodeobject.c
@@ -8730,7 +8730,7 @@
);
else
result = any_find_slice(
- asciilib_find_slice, ucs1lib_rfind_slice,
+ asciilib_rfind_slice, ucs1lib_rfind_slice,
ucs2lib_rfind_slice, ucs4lib_rfind_slice,
str, sub, start, end
);
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list