Serhiy Storchaka <storchaka+cpyt...@gmail.com> added the comment: This issue is easy if you know C.
* Find the implementation of str.capitalize in unicodeobject.c and make it using the title case. See on the implementation of str.title for example. * Find tests for str.capitalize and aďd new cases. Finding the proper place for test may be the hardest part. * Update the documentation for str.capitalize. Add the versionchanged directive. * Fix the documentation for str.title. Use str.capitalize in the example. * Add the news and What's New entries. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue36549> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com