Changeset 391 for python/trunk/Doc/c-api/reflection.rst
- Timestamp:
- Mar 19, 2014, 11:31:01 PM (11 years ago)
- Location:
- python/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
python/trunk
-
Property svn:mergeinfo
set to
/python/vendor/Python-2.7.6 merged eligible /python/vendor/current merged eligible
-
Property svn:mergeinfo
set to
-
python/trunk/Doc/c-api/reflection.rst
r2 r391 6 6 ========== 7 7 8 .. c function:: PyObject* PyEval_GetBuiltins()8 .. c:function:: PyObject* PyEval_GetBuiltins() 9 9 10 10 Return a dictionary of the builtins in the current execution frame, … … 12 12 13 13 14 .. c function:: PyObject* PyEval_GetLocals()14 .. c:function:: PyObject* PyEval_GetLocals() 15 15 16 16 Return a dictionary of the local variables in the current execution frame, … … 18 18 19 19 20 .. c function:: PyObject* PyEval_GetGlobals()20 .. c:function:: PyObject* PyEval_GetGlobals() 21 21 22 22 Return a dictionary of the global variables in the current execution frame, … … 24 24 25 25 26 .. c function:: PyFrameObject* PyEval_GetFrame()26 .. c:function:: PyFrameObject* PyEval_GetFrame() 27 27 28 28 Return the current thread state's frame, which is *NULL* if no frame is … … 30 30 31 31 32 .. cfunction:: int PyEval_GetRestricted() 32 .. c:function:: int PyFrame_GetLineNumber(PyFrameObject *frame) 33 34 Return the line number that *frame* is currently executing. 35 36 37 .. c:function:: int PyEval_GetRestricted() 33 38 34 39 If there is a current frame and it is executing in restricted mode, return true, … … 36 41 37 42 38 .. c function:: const char* PyEval_GetFuncName(PyObject *func)43 .. c:function:: const char* PyEval_GetFuncName(PyObject *func) 39 44 40 45 Return the name of *func* if it is a function, class or instance object, else the … … 42 47 43 48 44 .. c function:: const char* PyEval_GetFuncDesc(PyObject *func)49 .. c:function:: const char* PyEval_GetFuncDesc(PyObject *func) 45 50 46 51 Return a description string, depending on the type of *func*. 47 52 Return values include "()" for functions and methods, " constructor", 48 53 " instance", and " object". Concatenated with the result of 49 :c func:`PyEval_GetFuncName`, the result will be a description of54 :c:func:`PyEval_GetFuncName`, the result will be a description of 50 55 *func*.
Note:
See TracChangeset
for help on using the changeset viewer.