[issue7622] [patch] improve unicode methods: split() rsplit() and replace()

Marc-Andre Lemburg report at bugs.python.org
Mon Jan 4 16:55:30 CET 2010


Marc-Andre Lemburg <mal at egenix.com> added the comment:

Florent Xicluna wrote:
> > 
> > Florent Xicluna <laxyf at yahoo.fr> added the comment:
> > 
>> >> * function declarations should not put parameters on new lines:
>> >>
>> >>  +stringlib_splitlines(
>> >>  +    PyObject* str_obj, const STRINGLIB_CHAR* str, Py_ssize_t str_len,
>> >>  +    int keepends
>> >>  +    )
>> >>  +{
> > 
> > I copied the style of "stringlib/partition.h" for this part.
> > Should I update style of "partition.h" too?

I'd prefer if you change the coding style to what we use elsewhere
in Python C code.

See http://www.python.org/dev/peps/pep-0007/ for more C coding
style suggestions.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue7622>
_______________________________________


More information about the Python-bugs-list mailing list