MCPcopy Create free account
hub / github.com/goplus/py / Size

Method Size

tuple.go:76–82  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

74}
75
76func (t *Tuple) Size() int {
77 ret := C.PyTuple_Size(t.c())
78 if ret < 0 {
79 panic(exception())
80 }
81 return int(ret)
82}
83
84// Return the object at position pos in the tuple pointed to by p. If pos is out of bounds,
85// return NULL and sets an IndexError exception.

Callers 1

SliceMethod · 0.95

Calls 2

exceptionFunction · 0.85
cMethod · 0.80

Tested by

no test coverage detected