3.5. Context Path Objects#
-
PyTypeObject CpContextPath_Type#
The type object for the
CpContextPathObject
class.
-
type CpContextPathObject#
Represents a lambda function for retrieving a value from a Context based on a specified path.
-
CpContextPathObject *CpContextPath_New(PyObject *path)#
- Return value: New reference.
Creates a new context path and returns it. Returns NULL if an error occurs.
-
CpContextPathObject *CpContextPath_FromString(const char *path)#
- Return value: New reference.
Creates a new context path and returns it. Returns NULL if an error occurs.
-
int CpContextPath_CheckExact(PyObject *op)#
Checks if the given object is an
CpContextPathObject
.
-
int CpContextPath_Check(PyObject *op)#
Checks if the given object is instance of an
CpContextPathObject