Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/goplus/py
/ functions
Functions
233 in github.com/goplus/py
⨍
Functions
233
◇
Types & classes
30
Method
Repr
Repr returns a String representation of "obj". This is equivalent to the Python "repr(obj)". Return value: New Reference.
object.go:191
Method
RichCompare
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
Method
RichCompareBool
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
Method
Rshift
Rshift returns the result of right shifting n by obj. The equivalent Python is "n << obj". Return value: New Reference.
number.go:142
Function
Run
------------------------------------------------------------------------------------------
code.go:112
Method
SetAttr
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
Method
SetAttrString
SetAttrString sets the attribute of "obj" with the name "name" to "value". This is equivalent to the Python "obj.name = value".
object.go:133
Method
SetItem
SetItem sets the element of "obj" corresponding to "key" to "value". This is equivalent to the Python "obj[key] = value".
object.go:331
Method
Size
Size returns the length of the Object. This is equivalent to the Python "len(obj)".
object.go:315
Method
Slice
_PyTuple_Resize PyTuple_ClearFreeList()
tuple.go:112
Method
Str
Str returns a String representation of "obj". This is equivalent to the Python "str(obj)". Return value: New Reference.
object.go:200
Method
String
()
string.go:34
Method
Subtract
Subtract returns the result of subtracting obj from n. The equivalent Python is "n - obj". Return value: New Reference.
number.go:33
Function
Test
(t *testing.T)
pyutil/var_test.go:13
Function
TestBase
(t *testing.T)
object_test.go:7
Function
TestCall
(t *testing.T)
pyutil/call_test.go:23
Function
TestCompile
(t *testing.T)
code_test.go:19
Function
TestGoModule
(t *testing.T)
gomodule_test.go:38
Function
TestModule
(t *testing.T)
module_test.go:22
Method
TrueDivide
TrueDivide returns the ... TODO Return value: New Reference.
number.go:67
Method
Update
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
Method
Xor
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
Function
exceptionRaised
()
error.go:117
Function
goClassCallMethodArgs
export goClassCallMethodArgs
gofunction.go:42
Function
goClassCallMethodKwds
export goClassCallMethodKwds
gofunction.go:66
Function
init
()
goregister_test.go:8
Function
init
()
python.go:19
Function
main
()
examples/gomodule/gomodule.go:45
Method
release
()
error.go:29
Function
setMethod
gofunction.c:4
Function
ssize_t2Int64Err
(s C.Py_ssize_t)
error.go:132
← previous
201–233 of 233, ranked by callers