summaryrefslogtreecommitdiffstats
path: root/Objects/unicodeobject.c
diff options
context:
space:
mode:
authorEmanuele Gaifas <lelegaifax@gmail.com>2018-10-08 10:44:47 (GMT)
committerCarol Willing <carolcode@willingconsulting.com>2018-10-08 10:44:47 (GMT)
commitfc8205cb4b87edd1c19e1bcc26deaa1570f87988 (patch)
treecbe641783dc921fa8dc936b3386a33f6f64d1b39 /Objects/unicodeobject.c
parentffc5a14d00db984c8e72c7b67da8a493e17e2c14 (diff)
downloadcpython-fc8205cb4b87edd1c19e1bcc26deaa1570f87988.zip
cpython-fc8205cb4b87edd1c19e1bcc26deaa1570f87988.tar.gz
cpython-fc8205cb4b87edd1c19e1bcc26deaa1570f87988.tar.bz2
Add missing closing quote and trailing period in str.isidentifier() docstring (GH-9756)
This rectifies commit ffc5a14d00db984c8e72c7b67da8a493e17e2c14.
Diffstat (limited to 'Objects/unicodeobject.c')
-rw-r--r--Objects/unicodeobject.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Objects/unicodeobject.c b/Objects/unicodeobject.c
index 16dd3d1..db9b25e 100644
--- a/Objects/unicodeobject.c
+++ b/Objects/unicodeobject.c
@@ -12101,12 +12101,12 @@ str.isidentifier as unicode_isidentifier
Return True if the string is a valid Python identifier, False otherwise.
Call keyword.iskeyword(s) to test whether string s is a reserved identifier,
-such as "def" or "class
+such as "def" or "class".
[clinic start generated code]*/
static PyObject *
unicode_isidentifier_impl(PyObject *self)
-/*[clinic end generated code: output=fe585a9666572905 input=2fb643aafbcf0e1c]*/
+/*[clinic end generated code: output=fe585a9666572905 input=2d807a104f21c0c5]*/
{
return PyBool_FromLong(PyUnicode_IsIdentifier(self));
}