This commit is contained in:
Raymond Hettinger 2013-03-23 08:21:52 -07:00
commit 51612fd803
2 changed files with 6 additions and 1 deletions

View file

@ -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)