summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1998-11-23 22:13:04 (GMT)
committerGuido van Rossum <guido@python.org>1998-11-23 22:13:04 (GMT)
commitdf12a5930569a089c95865207a95c60b4a8031c2 (patch)
tree5f2543ab9cd1f8f8010c16bf14c8bc9ef379205f
parent014518f66cbf8c93ca6c75d005956b6f622727a8 (diff)
downloadcpython-df12a5930569a089c95865207a95c60b4a8031c2.zip
cpython-df12a5930569a089c95865207a95c60b4a8031c2.tar.gz
cpython-df12a5930569a089c95865207a95c60b4a8031c2.tar.bz2
Fix cosmetic bug in delattr docstring discovered by JvR.
-rw-r--r--Python/bltinmodule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/bltinmodule.c b/Python/bltinmodule.c
index f88ed7a..31c051f 100644
--- a/Python/bltinmodule.c
+++ b/Python/bltinmodule.c
@@ -974,7 +974,7 @@ builtin_delattr(self, args)
}
static char delattr_doc[] =
-"setattr(object, name, value)\n\
+"delattr(object, name)\n\
\n\
Delete a named attribute on an object; delattr(x, 'y') is equivalent to\n\
``del x.y''.";