Lines Matching defs:new
1871 new normalized 4-byte version. */
2207 into the new object */
2528 case: create a new string with of the right kind. Write NULL into *p_unicode
4466 at the new input position), so we won't have to check space
8607 space is available. Return a new reference to the object that
11422 /* Concat to string or Unicode object giving a new Unicode object. */
11762 PyErr_SetString(PyExc_OverflowError, "new string is too long");
12437 The result is returned as a new string.
12810 new: unicode
12816 Return a copy with all occurrences of substring old replaced by new.
12823 unicode_replace_impl(PyObject *self, PyObject *old, PyObject *new,
12829 return replace(self, old, new, count);
13436 PyObject *new = NULL, *key, *value;
13440 new = PyDict_New();
13441 if (!new)
13472 res = PyDict_SetItem(new, key, value);
13486 res = PyDict_SetItem(new, key, Py_None);
13502 /* copy entries into the new dict, converting string keys to int keys */
13517 res = PyDict_SetItem(new, newkey, value);
13523 if (PyDict_SetItem(new, key, value) < 0)
13532 return new;
13534 Py_DECREF(new);
14361 /* Returns a new reference to a PyUnicode object, or NULL on failure. */
14407 * Return value: a new PyUnicodeObject*, or NULL if error.
15405 Create a new string object from the given object. If encoding or\n\