diff options
Diffstat (limited to 'Objects')
-rw-r--r-- | Objects/dictobject.c | 12 | ||||
-rw-r--r-- | Objects/unicodeobject.c | 12 |
2 files changed, 12 insertions, 12 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; diff --git a/Objects/unicodeobject.c b/Objects/unicodeobject.c index fc6f0d0..48eccf7 100644 --- a/Objects/unicodeobject.c +++ b/Objects/unicodeobject.c @@ -47,10 +47,10 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. #include <windows.h> #endif -/*[clinic] +/*[clinic input] class str -[clinic]*/ -/*[clinic checksum: da39a3ee5e6b4b0d3255bfef95601890afd80709]*/ +[clinic start generated code]*/ +/*[clinic end generated code: checksum=da39a3ee5e6b4b0d3255bfef95601890afd80709]*/ /* --- Globals ------------------------------------------------------------ @@ -12860,7 +12860,7 @@ unicode_swapcase(PyObject *self) return case_operation(self, do_swapcase); } -/*[clinic] +/*[clinic input] @staticmethod str.maketrans as unicode_maketrans @@ -12882,7 +12882,7 @@ If there are two arguments, they must be strings of equal length, and in the resulting dictionary, each character in x will be mapped to the character at the same position in y. If there is a third argument, it must be a string, whose characters will be mapped to None in the result. -[clinic]*/ +[clinic start generated code]*/ PyDoc_STRVAR(unicode_maketrans__doc__, "maketrans(x, y=None, z=None)\n" @@ -12922,7 +12922,7 @@ exit: static PyObject * unicode_maketrans_impl(void *null, PyObject *x, PyObject *y, PyObject *z) -/*[clinic checksum: 7f76f414a0dfd0c614e0d4717872eeb520516da7]*/ +/*[clinic end generated code: checksum=7f76f414a0dfd0c614e0d4717872eeb520516da7]*/ { PyObject *new = NULL, *key, *value; Py_ssize_t i = 0; |