Searched refs:show_user_defined_docstrings (Results 1 – 3 of 3) sorted by relevance
33 …options& disable_user_defined_docstrings() & { global_state().show_user_defined_docstrings = false… in PYBIND11_NAMESPACE_BEGIN()35 …options& enable_user_defined_docstrings() & { global_state().show_user_defined_docstrings = true; … in PYBIND11_NAMESPACE_BEGIN()43 … static bool show_user_defined_docstrings() { return global_state().show_user_defined_docstrings; } in PYBIND11_NAMESPACE_BEGIN()53 bool show_user_defined_docstrings = true; //< Include user-supplied texts in docstrings. in PYBIND11_NAMESPACE_BEGIN() member
471 if (it->doc && strlen(it->doc) > 0 && options::show_user_defined_docstrings()) { in PYBIND11_NAMESPACE_BEGIN()984 if (doc && options::show_user_defined_docstrings())1039 /* m_doc */ options::show_user_defined_docstrings() ? doc : nullptr, in create_extension_module()1051 … auto m = Py_InitModule3(name, nullptr, options::show_user_defined_docstrings() ? doc : nullptr); in create_extension_module()1167 …onst auto has_doc = rec_func && rec_func->doc && pybind11::options::show_user_defined_docstrings(); in PYBIND11_NAMESPACE_BEGIN()
625 if (rec.doc && options::show_user_defined_docstrings()) { in make_new_python_type()