function 6

cgitb.enable() enables stack traces in CGI scripts

doctest.testmod(module) checks for examples in docstrings

unittest.main() runs unit tests in the current module

profile.run(stmt[, filename]) Execute the statement and perform performance analysis on it; the analysis results can be saved to the file specified by the parameter filename

Py_INCREF(obj) increments the reference count of obj by 1

Py_DECREF(obj) decrements the reference count of obj by 1

PyArg_ParseTuple(args, fmt, ...) extracts positional arguments

PyArg_ParseTupleAndKeywords(args, kws, fmt, kwlist) Extract positional and keyword arguments

PyBuildValue(fmt, value) Create pyObjct from C language value

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325646216&siteId=291194637