Home
last modified time | relevance | path

Searched refs:old_doc (Results 1 – 2 of 2) sorted by relevance

/external/tensorflow/tensorflow/python/util/
Ddeprecation.py604 def rewrite_argument_docstring(old_doc, old_argument, new_argument): argument
605 return old_doc.replace('`%s`' % old_argument, '`%s`' % new_argument).replace(
/external/python/cpython3/Objects/
Dtypeobject.c2937 const char *old_doc = _PyType_DocWithoutSignature(type->tp_name, slot->pfunc); in PyType_FromSpecWithBases() local
2938 size_t len = strlen(old_doc)+1; in PyType_FromSpecWithBases()
2944 memcpy(tp_doc, old_doc, len); in PyType_FromSpecWithBases()
5257 const char *old_doc = _PyType_DocWithoutSignature(type->tp_name, in PyType_Ready() local
5259 PyObject *doc = PyUnicode_FromString(old_doc); in PyType_Ready()