Add missing closing quote and trailing period in str.isidentifier() d… · python/cpython@fc8205c (original) (raw)

Original file line number Diff line number Diff line change
@@ -12101,12 +12101,12 @@ str.isidentifier as unicode_isidentifier
12101 12101 Return True if the string is a valid Python identifier, False otherwise.
12102 12102
12103 12103 Call keyword.iskeyword(s) to test whether string s is a reserved identifier,
12104 -such as "def" or "class
12104 +such as "def" or "class".
12105 12105 [clinic start generated code]*/
12106 12106
12107 12107 static PyObject *
12108 12108 unicode_isidentifier_impl(PyObject *self)
12109 -/*[clinic end generated code: output=fe585a9666572905 input=2fb643aafbcf0e1c]*/
12109 +/*[clinic end generated code: output=fe585a9666572905 input=2d807a104f21c0c5]*/
12110 12110 {
12111 12111 return PyBool_FromLong(PyUnicode_IsIdentifier(self));
12112 12112 }