mirror of
https://github.com/python/cpython.git
synced 2025-10-09 16:34:44 +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
|
@ -93,12 +93,12 @@ bool_xor(PyObject *a, PyObject *b)
|
|||
|
||||
/* Doc string */
|
||||
|
||||
static char bool_doc[] =
|
||||
PyDoc_STRVAR(bool_doc,
|
||||
"bool(x) -> bool\n\
|
||||
\n\
|
||||
Returns True when the argument x is true, False otherwise.\n\
|
||||
The builtins True and False are the only two instances of the class bool.\n\
|
||||
The class bool is a subclass of the class int, and cannot be subclassed.";
|
||||
The class bool is a subclass of the class int, and cannot be subclassed.");
|
||||
|
||||
/* Arithmetic methods -- only so we can override &, |, ^. */
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue