mirror of
https://github.com/python/cpython.git
synced 2025-12-04 00:30:19 +00:00
Patch #568124: Add doc string macros.
This commit is contained in:
parent
654c11ee3a
commit
14f8b4cfcb
63 changed files with 1509 additions and 1625 deletions
|
|
@ -524,11 +524,11 @@ tuple_subtype_new(PyTypeObject *type, PyObject *args, PyObject *kwds)
|
|||
return new;
|
||||
}
|
||||
|
||||
static char tuple_doc[] =
|
||||
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.";
|
||||
"If the argument is a tuple, the return value is the same object.");
|
||||
|
||||
static PySequenceMethods tuple_as_sequence = {
|
||||
(inquiry)tuplelength, /* sq_length */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue