pyobject

package
v11.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 6, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
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 ASCII

func ASCII(o *python.PyObject) *python.PyObject

ASCII PyObject_ASCII

func Bytes

func Bytes(o *python.PyObject) *python.PyObject

Bytes PyObject_Bytes

func Call

func Call(callable, args, kwargs *python.PyObject) *python.PyObject

Call PyObject_Call

func CallFunctionObjArgs

func CallFunctionObjArgs(callable *python.PyObject, args ...*python.PyObject) *python.PyObject

CallFunctionObjArgs PyObject_CallFunctionObjArgs

func CallMethodNoArgs

func CallMethodNoArgs(obj, name *python.PyObject) *python.PyObject

CallMethodNoArgs PyObject_CallMethodNoArgs

func CallMethodObjArgs

func CallMethodObjArgs(obj, name *python.PyObject, args ...*python.PyObject) *python.PyObject

CallMethodObjArgs PyObject_CallMethodObjArgs

func CallMethodOneArg

func CallMethodOneArg(obj, name, arg *python.PyObject) *python.PyObject

CallMethodOneArg PyObject_CallMethodOneArg

func CallNoArgs

func CallNoArgs(callable *python.PyObject) *python.PyObject

CallNoArgs PyObject_CallNoArgs

func CallObject

func CallObject(callable, args *python.PyObject) *python.PyObject

CallObject PyObject_CallObject

func CallOneArg

func CallOneArg(callable, arg *python.PyObject) *python.PyObject

CallOneArg PyObject_CallOneArg

func DelAttr

func DelAttr(o, attrName *python.PyObject) bool

DelAttr PyObject_DelAttr

func DelAttrString

func DelAttrString(o *python.PyObject, attrName string) bool

DelAttrString PyObject_DelAttrString

func DelItem

func DelItem(o, key *python.PyObject) bool

DelItem PyObject_DelItem

func Dir

func Dir(o *python.PyObject) *python.PyObject

Dir PyObject_Dir

func GenericGetAttr

func GenericGetAttr(o, name *python.PyObject) *python.PyObject

GenericGetAttr PyObject_GenericGetAttr

func GenericSetAttr

func GenericSetAttr(o, name, value *python.PyObject) bool

GenericSetAttr PyObject_GenericSetAttr

func GetAttr

func GetAttr(o, attrName *python.PyObject) *python.PyObject

GetAttr PyObject_GetAttr

func GetAttrString

func GetAttrString(o *python.PyObject, attrName string) *python.PyObject

GetAttrString PyObject_GetAttrString

func GetItem

func GetItem(o, key *python.PyObject) *python.PyObject

GetItem PyObject_GetItem

func GetIter

func GetIter(o *python.PyObject) *python.PyObject

GetIter PyObject_GetIter

func HasAttr

func HasAttr(o, attrName *python.PyObject) bool

HasAttr PyObject_HasAttr

func HasAttrString

func HasAttrString(o *python.PyObject, attrName string) bool

HasAttrString PyObject_HasAttrString

func Hash

func Hash(o *python.PyObject) int

Hash PyObject_Hash

func HashNotImplemented

func HashNotImplemented(o *python.PyObject) int

HashNotImplemented PyObject_HashNotImplemented

func IsInstance

func IsInstance(inst, cls *python.PyObject) int

IsInstance PyObject_IsInstance

func IsSubclass

func IsSubclass(derived, cls *python.PyObject) int

IsSubclass PyObject_IsSubclass

func IsTrue

func IsTrue(o *python.PyObject) int

IsTrue PyObject_IsTrue

func Length

func Length(o *python.PyObject) int

Length PyObject_Length

func LengthHint

func LengthHint(o *python.PyObject, defaultvalue int) int

LengthHint PyObject_LengthHint

func Not

func Not(o *python.PyObject) int

Not PyObject_Not

func Repr

func Repr(o *python.PyObject) *python.PyObject

Repr PyObject_Repr

func RichCompare

func RichCompare(o1, o2 *python.PyObject, opid int) *python.PyObject

RichCompare PyObject_RichCompare

func RichCompareBool

func RichCompareBool(o1, o2 *python.PyObject, opid int) int

RichCompareBool PyObject_RichCompareBool

func SetAttr

func SetAttr(o, attrName, v *python.PyObject) bool

SetAttr PyObject_SetAttr

func SetAttrString

func SetAttrString(o *python.PyObject, attrName string, v *python.PyObject) bool

SetAttrString PyObject_SetAttrString

func SetItem

func SetItem(o, key, val *python.PyObject) bool

SetItem PyObject_SetItem

func Size

func Size(o *python.PyObject) int

Size PyObject_Size

func Str

func Str(o *python.PyObject) *python.PyObject

Str PyObject_Str

func Type

func Type(o *python.PyObject) *python.PyObject

Type PyObject_Type

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL