Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/python/util/
Ddeprecation.py632 def rewrite_argument_docstring(old_doc, old_argument, new_argument): argument
633 return old_doc.replace('`%s`' % old_argument, '`%s`' % new_argument).replace(
/external/python/cpython3/Objects/
Dtypeobject.c3018 const char *old_doc = _PyType_DocWithoutSignature(type->tp_name, slot->pfunc); in PyType_FromModuleAndSpec() local
3019 size_t len = strlen(old_doc)+1; in PyType_FromModuleAndSpec()
3026 memcpy(tp_doc, old_doc, len); in PyType_FromModuleAndSpec()
5531 const char *old_doc = _PyType_DocWithoutSignature(type->tp_name, in PyType_Ready() local
5533 PyObject *doc = PyUnicode_FromString(old_doc); in PyType_Ready()