From e02de8c2adeafc5f7f7b37ab8a204e8f89e02387 Mon Sep 17 00:00:00 2001 From: Meador Inge Date: Tue, 14 Jan 2014 16:48:31 -0600 Subject: Fix minor bug in dict.__contains__ docstring. When dict got clinicized in 8fde1a2c94dc for Issue #16612 an erroneous trailing quote was left in the clinic docstring summary line. --- Objects/dictobject.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Objects/dictobject.c b/Objects/dictobject.c index 910b48f..ceb45e0 100644 --- a/Objects/dictobject.c +++ b/Objects/dictobject.c @@ -2172,19 +2172,19 @@ dict.__contains__ key: object / -True if D has a key k, else False" +True if D has a key k, else False. [clinic start generated code]*/ PyDoc_STRVAR(dict___contains____doc__, "__contains__(key)\n" -"True if D has a key k, else False\""); +"True if D has a key k, else False."); #define DICT___CONTAINS___METHODDEF \ {"__contains__", (PyCFunction)dict___contains__, METH_O|METH_COEXIST, dict___contains____doc__}, static PyObject * dict___contains__(PyObject *self, PyObject *key) -/*[clinic end generated code: checksum=3bbac5ce898ae630d9668fa1c8b3afb645ff22e8]*/ +/*[clinic end generated code: checksum=402ddb624ba1e4db764bfdfbbee6c1c59d1a11fa]*/ { register PyDictObject *mp = (PyDictObject *)self; Py_hash_t hash; -- cgit v0.12