summaryrefslogtreecommitdiffstats
path: root/Objects/unicodeobject.c
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2013-03-23 15:21:52 (GMT)
committerRaymond Hettinger <python@rcn.com>2013-03-23 15:21:52 (GMT)
commit51612fd80372e385947032436ae4c657d9ca78a5 (patch)
tree73a10bdabed29aebaf4168e55e75067e78d9c08c /Objects/unicodeobject.c
parentcf936c7287b7a7cbb308895a4bf1222b5ba9392c (diff)
parent378170d5d95256ec17e20a5ce7dc1b6c99213874 (diff)
downloadcpython-51612fd80372e385947032436ae4c657d9ca78a5.zip
cpython-51612fd80372e385947032436ae4c657d9ca78a5.tar.gz
cpython-51612fd80372e385947032436ae4c657d9ca78a5.tar.bz2
merge
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 cb93395..23e57f0 100644
--- a/Objects/unicodeobject.c
+++ b/Objects/unicodeobject.c
@@ -11369,7 +11369,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)