mirror of
https://github.com/python/cpython
synced 2026-09-29 12:10:30 +03: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
|
|
@ -719,10 +719,10 @@ float_subtype_new(PyTypeObject *type, PyObject *args, PyObject *kwds)
|
|||
return new;
|
||||
}
|
||||
|
||||
static char float_doc[] =
|
||||
PyDoc_STRVAR(float_doc,
|
||||
"float(x) -> floating point number\n\
|
||||
\n\
|
||||
Convert a string or number to a floating point number, if possible.";
|
||||
Convert a string or number to a floating point number, if possible.");
|
||||
|
||||
|
||||
static PyNumberMethods float_as_number = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue