MCPcopy Create free account
hub / github.com/KLayout/klayout / add_python_doc

Method add_python_doc

src/pya/pya/pyaModule.cc:194–200  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

192}
193
194void
195PythonModule::add_python_doc (const gsi::ClassBase & /*cls*/, const MethodTable *mt, int mid, const std::string &doc)
196{
197 for (MethodTableEntry::method_iterator m = mt->begin (mid); m != mt->end (mid); ++m) {
198 add_python_doc (*m, doc);
199 }
200}
201
202void
203PythonModule::add_python_doc (const gsi::MethodBase *m, const std::string &doc)

Callers 4

add_methodMethod · 0.80
add_setterMethod · 0.80
add_getterMethod · 0.80
make_classMethod · 0.80

Calls 2

beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected