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

Method IsSubclass

class.go:48–50  ·  view source on GitHub ↗

Return true if klass is a subclass of base. Return false in all other cases.

(base *Base)

Source from the content-addressed store, hash-verified

46
47// Return true if klass is a subclass of base. Return false in all other cases.
48func (t *Class) IsSubclass(base *Base) bool {
49 return C.PyClass_IsSubclass(t.c(), base.c()) != 0
50}
51

Callers

nothing calls this directly

Calls 1

cMethod · 0.80

Tested by

no test coverage detected