Documentation
¶
Index ¶
- Constants
- func ASCII(o *python.PyObject) *python.PyObject
- func Bytes(o *python.PyObject) *python.PyObject
- func Call(callable, args, kwargs *python.PyObject) *python.PyObject
- func CallFunctionObjArgs(callable *python.PyObject, args ...*python.PyObject) *python.PyObject
- func CallMethodNoArgs(obj, name *python.PyObject) *python.PyObject
- func CallMethodObjArgs(obj, name *python.PyObject, args ...*python.PyObject) *python.PyObject
- func CallMethodOneArg(obj, name, arg *python.PyObject) *python.PyObject
- func CallNoArgs(callable *python.PyObject) *python.PyObject
- func CallObject(callable, args *python.PyObject) *python.PyObject
- func CallOneArg(callable, arg *python.PyObject) *python.PyObject
- func DelAttr(o, attrName *python.PyObject) bool
- func DelAttrString(o *python.PyObject, attrName string) bool
- func DelItem(o, key *python.PyObject) bool
- func Dir(o *python.PyObject) *python.PyObject
- func GenericGetAttr(o, name *python.PyObject) *python.PyObject
- func GenericSetAttr(o, name, value *python.PyObject) bool
- func GetAttr(o, attrName *python.PyObject) *python.PyObject
- func GetAttrString(o *python.PyObject, attrName string) *python.PyObject
- func GetItem(o, key *python.PyObject) *python.PyObject
- func GetIter(o *python.PyObject) *python.PyObject
- func HasAttr(o, attrName *python.PyObject) bool
- func HasAttrString(o *python.PyObject, attrName string) bool
- func Hash(o *python.PyObject) int
- func HashNotImplemented(o *python.PyObject) int
- func IsInstance(inst, cls *python.PyObject) int
- func IsSubclass(derived, cls *python.PyObject) int
- func IsTrue(o *python.PyObject) int
- func Length(o *python.PyObject) int
- func LengthHint(o *python.PyObject, defaultvalue int) int
- func Not(o *python.PyObject) int
- func Repr(o *python.PyObject) *python.PyObject
- func RichCompare(o1, o2 *python.PyObject, opid int) *python.PyObject
- func RichCompareBool(o1, o2 *python.PyObject, opid int) int
- func SetAttr(o, attrName, v *python.PyObject) bool
- func SetAttrString(o *python.PyObject, attrName string, v *python.PyObject) bool
- func SetItem(o, key, val *python.PyObject) bool
- func Size(o *python.PyObject) int
- func Str(o *python.PyObject) *python.PyObject
- func Type(o *python.PyObject) *python.PyObject
Constants ¶
const MaxVariadicLength = 20
MaxVariadicLength is the maximum number of arguments that can be passed to a variadic C function due to a cgo limitation
Variables ¶
This section is empty.
Functions ¶
func CallFunctionObjArgs ¶
CallFunctionObjArgs PyObject_CallFunctionObjArgs
func CallMethodNoArgs ¶
CallMethodNoArgs PyObject_CallMethodNoArgs
func CallMethodObjArgs ¶
CallMethodObjArgs PyObject_CallMethodObjArgs
func CallMethodOneArg ¶
CallMethodOneArg PyObject_CallMethodOneArg
func CallNoArgs ¶
CallNoArgs PyObject_CallNoArgs
func CallObject ¶
CallObject PyObject_CallObject
func CallOneArg ¶
CallOneArg PyObject_CallOneArg
func DelAttrString ¶
DelAttrString PyObject_DelAttrString
func GenericGetAttr ¶
GenericGetAttr PyObject_GenericGetAttr
func GenericSetAttr ¶
GenericSetAttr PyObject_GenericSetAttr
func GetAttrString ¶
GetAttrString PyObject_GetAttrString
func HasAttrString ¶
HasAttrString PyObject_HasAttrString
func HashNotImplemented ¶
HashNotImplemented PyObject_HashNotImplemented
func LengthHint ¶
LengthHint PyObject_LengthHint
func RichCompare ¶
RichCompare PyObject_RichCompare
func RichCompareBool ¶
RichCompareBool PyObject_RichCompareBool
func SetAttrString ¶
SetAttrString PyObject_SetAttrString
Types ¶
This section is empty.