py

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 (
	// LT Py_LT <
	LT = int(C.Py_LT)
	// LE Py_LE <=
	LE = int(C.Py_LE)
	// EQ Py_EQ ==
	EQ = int(C.Py_EQ)
	// NE Py_NE !=
	NE = int(C.Py_NE)
	// GT Py_GT >
	GT = int(C.Py_GT)
	// GE Py_GE >=
	GE = int(C.Py_GE)
)

Variables

View Source
var (
	// False Py_False
	False = toObject(C.Py_False)
	// True Py_True
	True = toObject(C.Py_True)
)
View Source
var None = toObject(C.Py_None)

None Py_None

Functions

func DecRef

func DecRef(o *python.PyObject)

DecRef Py_DECREF

func EnterRecursiveCall

func EnterRecursiveCall(where string) int

EnterRecursiveCall Py_EnterRecursiveCall

func Finalize

func Finalize()

Finalize Py_Finalize

func FinalizeEx

func FinalizeEx() int

FinalizeEx Py_FinalizeEx

func GetBuildInfo

func GetBuildInfo() string

GetBuildInfo Py_GetBuildInfo

func GetCompiler

func GetCompiler() string

GetCompiler Py_GetCompiler

func GetCopyright

func GetCopyright() string

GetCopyright Py_GetCopyright

func GetExecPrefix

func GetExecPrefix() string

GetExecPrefix Py_GetExecPrefix

func GetPath

func GetPath() string

GetPath Py_GetPath

func GetPlatform

func GetPlatform() string

GetPlatform Py_GetPlatform

func GetPrefix

func GetPrefix() string

GetPrefix Py_GetPrefix

func GetProgramFullPath

func GetProgramFullPath() string

GetProgramFullPath Py_GetProgramFullPath

func GetProgramName

func GetProgramName() string

GetProgramName Py_GetProgramName

func GetPythonHome

func GetPythonHome() string

GetPythonHome Py_GetPythonHome

func GetVersion

func GetVersion() string

GetVersion Py_GetVersion

func IncRef

func IncRef(o *python.PyObject)

IncRef Py_INCREF

func Initialize

func Initialize()

Initialize Py_Initialize

func InitializeEx

func InitializeEx(initsigs bool)

InitializeEx Py_InitializeEx

func IsInitialized

func IsInitialized() bool

IsInitialized Py_IsInitialized

func IsNone

func IsNone(o *python.PyObject) bool

IsNone Py_IsNone

func LeaveRecursiveCall

func LeaveRecursiveCall()

LeaveRecursiveCall Py_LeaveRecursiveCall

func RefCnt

func RefCnt(o *python.PyObject) int

RefCnt Py_REFCNT

func ReprEnter

func ReprEnter(object *python.PyObject) int

ReprEnter Py_ReprEnter

func ReprLeave

func ReprLeave(object *python.PyObject)

ReprLeave Py_ReprLeave

func SetPath

func SetPath(path string)

SetPath Py_SetPath

func SetProgramName

func SetProgramName(name string)

SetProgramName Py_SetProgramName

func SetPythonHome

func SetPythonHome(home string)

SetPythonHome Py_SetPythonHome

func SetStandardStreamEncoding

func SetStandardStreamEncoding(encoding, errors string) int

SetStandardStreamEncoding Py_SetStandardStreamEncoding

Types

This section is empty.

Jump to

Keyboard shortcuts

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