#8030: more docstring fix for builtin types.

This commit is contained in:
Ezio Melotti 2010-02-28 23:59:00 +00:00
parent 613c7a549a
commit fb501123e3
3 changed files with 7 additions and 7 deletions

View file

@ -681,10 +681,10 @@ tuple_subtype_new(PyTypeObject *type, PyObject *args, PyObject *kwds)
}
PyDoc_STRVAR(tuple_doc,
"tuple() -> an empty tuple\n"
"tuple(sequence) -> tuple initialized from sequence's items\n"
"\n"
"If the argument is a tuple, the return value is the same object.");
"tuple() -> empty tuple\n\
tuple(iterable) -> tuple initialized from iterable's items\n\
\n\
If the argument is a tuple, the return value is the same object.");
static PySequenceMethods tuple_as_sequence = {
(lenfunc)tuplelength, /* sq_length */