[Python-checkins] r67894 - python/branches/py3k-issue1717/Modules/_localemodule.c

mark.dickinson python-checkins at python.org
Sun Dec 21 14:08:46 CET 2008


Author: mark.dickinson
Date: Sun Dec 21 14:08:46 2008
New Revision: 67894

Log:
Fix docstring for strxfrm.


Modified:
   python/branches/py3k-issue1717/Modules/_localemodule.c

Modified: python/branches/py3k-issue1717/Modules/_localemodule.c
==============================================================================
--- python/branches/py3k-issue1717/Modules/_localemodule.c	(original)
+++ python/branches/py3k-issue1717/Modules/_localemodule.c	Sun Dec 21 14:08:46 2008
@@ -272,7 +272,9 @@
 
 #ifdef HAVE_WCSXFRM
 PyDoc_STRVAR(strxfrm__doc__,
-"string -> string. Returns a string that behaves for cmp locale-aware.");
+"strxfrm(string) -> string.\n\
+\n\
+Return a string that can be used as a key for locale-aware comparisons.");
 
 static PyObject*
 PyLocale_strxfrm(PyObject* self, PyObject* args)


More information about the Python-checkins mailing list