summaryrefslogtreecommitdiff
path: root/Objects/unicodeobject.c
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2013-03-25 07:01:37 +0100
committerGeorg Brandl <georg@python.org>2013-03-25 07:01:37 +0100
commita809e4a54007303efb084b85ba53605adaa41b64 (patch)
treed038bc1b85b83594b29f00ae5bc10b5290ffdf71 /Objects/unicodeobject.c
parentd08d0b1c69b19c58afb998e30eadfc7b9de26378 (diff)
parent153866ea9ab80323d247a9c49d1fdf50e07e7330 (diff)
downloadcpython-git-3.3.1rc1.tar.gz
merge with upstream 3.3 branchv3.3.1rc1
Diffstat (limited to 'Objects/unicodeobject.c')
-rw-r--r--Objects/unicodeobject.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/Objects/unicodeobject.c b/Objects/unicodeobject.c
index 9f269a5bc2..c21e80c99d 100644
--- a/Objects/unicodeobject.c
+++ b/Objects/unicodeobject.c
@@ -11493,7 +11493,10 @@ PyDoc_STRVAR(isidentifier__doc__,
"S.isidentifier() -> bool\n\
\n\
Return True if S is a valid identifier according\n\
-to the language definition.");
+to the language definition.\n\
+\n\
+Use keyword.iskeyword() to test for reserved identifiers\n\
+such as \"def\" and \"class\".\n");
static PyObject*
unicode_isidentifier(PyObject *self)