MCPcopy Create free account

hub / github.com/goplus/py / functions

Functions233 in github.com/goplus/py

MethodRepr
Repr returns a String representation of "obj". This is equivalent to the Python "repr(obj)". Return value: New Reference.
object.go:191
MethodRichCompare
RichCompare compares "obj" with "obj2" using the specified operation (LE, GE etc.), and returns the result. The equivalent Python is "obj op obj2", w
object.go:164
MethodRichCompareBool
RichCompare compares "obj" with "obj2" using the specified operation (LE, GE etc.), and returns true or false. The equivalent Python is "obj op obj2"
object.go:172
MethodRshift
Rshift returns the result of right shifting n by obj. The equivalent Python is "n << obj". Return value: New Reference.
number.go:142
FunctionRun
------------------------------------------------------------------------------------------
code.go:112
MethodSetAttr
PyObject_GenericGetAttr : This is an internal helper function - we shouldn't need to expose it ... SetAttr sets the attribute of "obj" with the name "
object.go:126
MethodSetAttrString
SetAttrString sets the attribute of "obj" with the name "name" to "value". This is equivalent to the Python "obj.name = value".
object.go:133
MethodSetItem
SetItem sets the element of "obj" corresponding to "key" to "value". This is equivalent to the Python "obj[key] = value".
object.go:331
MethodSize
Size returns the length of the Object. This is equivalent to the Python "len(obj)".
object.go:315
MethodSlice
_PyTuple_Resize PyTuple_ClearFreeList()
tuple.go:112
MethodStr
Str returns a String representation of "obj". This is equivalent to the Python "str(obj)". Return value: New Reference.
object.go:200
MethodString
()
string.go:34
MethodSubtract
Subtract returns the result of subtracting obj from n. The equivalent Python is "n - obj". Return value: New Reference.
number.go:33
FunctionTest
(t *testing.T)
pyutil/var_test.go:13
FunctionTestBase
(t *testing.T)
object_test.go:7
FunctionTestCall
(t *testing.T)
pyutil/call_test.go:23
FunctionTestCompile
(t *testing.T)
code_test.go:19
FunctionTestGoModule
(t *testing.T)
gomodule_test.go:38
FunctionTestModule
(t *testing.T)
module_test.go:22
MethodTrueDivide
TrueDivide returns the ... TODO Return value: New Reference.
number.go:67
MethodUpdate
Update replaces key values pairs in d with those from o. It is equivalent to d.Merge(o, true) in Go, or "d.update(o)" in Python.
dict.go:184
MethodXor
Xor returns the bitwise xor of n and obj. The equivalent Python is "n ^ obj". Return value: New Reference.
number.go:160
Function_TestEvalLocalGlobals
(t *testing.T)
code_test.go:59
Function_TestRegister
------------------------------------------------------------------------------------------
goregister_test.go:27
FunctionexceptionRaised
()
error.go:117
FunctiongoClassCallMethodArgs
export goClassCallMethodArgs
gofunction.go:42
FunctiongoClassCallMethodKwds
export goClassCallMethodKwds
gofunction.go:66
Functioninit
()
goregister_test.go:8
Functioninit
()
python.go:19
Functionmain
()
examples/gomodule/gomodule.go:45
Methodrelease
()
error.go:29
FunctionsetMethod
gofunction.c:4
Functionssize_t2Int64Err
(s C.Py_ssize_t)
error.go:132
← previous201–233 of 233, ranked by callers