From 14f8b4cfcb98de74b9c6e9316539be9e2a5cd31f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20v=2E=20L=C3=B6wis?= Date: Thu, 13 Jun 2002 20:33:02 +0000 Subject: Patch #568124: Add doc string macros. --- Objects/boolobject.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Objects/boolobject.c') diff --git a/Objects/boolobject.c b/Objects/boolobject.c index 89a7ece11a..a20af00680 100644 --- a/Objects/boolobject.c +++ b/Objects/boolobject.c @@ -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 &, |, ^. */ -- cgit v1.2.1