diff options
author | Meador Inge <meadori@gmail.com> | 2014-01-14 22:48:31 (GMT) |
---|---|---|
committer | Meador Inge <meadori@gmail.com> | 2014-01-14 22:48:31 (GMT) |
commit | e02de8c2adeafc5f7f7b37ab8a204e8f89e02387 (patch) | |
tree | 28f41653810384a5fdea3dc312d57f5f93d50dbc /Objects/dictobject.c | |
parent | af029de7b0f5b07aee854201a90bbe984da08c0d (diff) | |
download | cpython-e02de8c2adeafc5f7f7b37ab8a204e8f89e02387.zip cpython-e02de8c2adeafc5f7f7b37ab8a204e8f89e02387.tar.gz cpython-e02de8c2adeafc5f7f7b37ab8a204e8f89e02387.tar.bz2 |
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.
Diffstat (limited to 'Objects/dictobject.c')
-rw-r--r-- | Objects/dictobject.c | 6 |
1 files 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; |