summaryrefslogtreecommitdiffstats
path: root/Objects/dictobject.c
diff options
context:
space:
mode:
authorLarry Hastings <larry@hastings.org>2014-01-07 20:41:53 (GMT)
committerLarry Hastings <larry@hastings.org>2014-01-07 20:41:53 (GMT)
commit61272b77b0792318105bbdb6887a029b6a1743da (patch)
treec7842926f7938056074e083347c03ebb244650cf /Objects/dictobject.c
parent9026113fd4acbb2fb77a900ae7bd921eebcc29c4 (diff)
downloadcpython-61272b77b0792318105bbdb6887a029b6a1743da.zip
cpython-61272b77b0792318105bbdb6887a029b6a1743da.tar.gz
cpython-61272b77b0792318105bbdb6887a029b6a1743da.tar.bz2
Issue #19273: The marker comments Argument Clinic uses have been changed
to improve readability.
Diffstat (limited to 'Objects/dictobject.c')
-rw-r--r--Objects/dictobject.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/Objects/dictobject.c b/Objects/dictobject.c
index bfc730b..910b48f 100644
--- a/Objects/dictobject.c
+++ b/Objects/dictobject.c
@@ -69,10 +69,10 @@ to the combined-table form.
#include "Python.h"
#include "stringlib/eq.h"
-/*[clinic]
+/*[clinic input]
class dict
-[clinic]*/
-/*[clinic checksum: da39a3ee5e6b4b0d3255bfef95601890afd80709]*/
+[clinic start generated code]*/
+/*[clinic end generated code: checksum=da39a3ee5e6b4b0d3255bfef95601890afd80709]*/
typedef struct {
/* Cached hash code of me_key. */
@@ -2164,7 +2164,7 @@ dict_richcompare(PyObject *v, PyObject *w, int op)
return res;
}
-/*[clinic]
+/*[clinic input]
@coexist
dict.__contains__
@@ -2173,7 +2173,7 @@ dict.__contains__
/
True if D has a key k, else False"
-[clinic]*/
+[clinic start generated code]*/
PyDoc_STRVAR(dict___contains____doc__,
"__contains__(key)\n"
@@ -2184,7 +2184,7 @@ PyDoc_STRVAR(dict___contains____doc__,
static PyObject *
dict___contains__(PyObject *self, PyObject *key)
-/*[clinic checksum: 3bbac5ce898ae630d9668fa1c8b3afb645ff22e8]*/
+/*[clinic end generated code: checksum=3bbac5ce898ae630d9668fa1c8b3afb645ff22e8]*/
{
register PyDictObject *mp = (PyDictObject *)self;
Py_hash_t hash;