overriding a user method from C code... #16003
kdschlosser
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I know that sub classing is able to be done and one of the features of sub classing is to override the behavior of a parent classes method. if the method is called from say the
__init__
method of the parent class how is that done from c code? Or can it be done from C code..what I am doing is I am creating a threading module that is a user_c_module. so with the
Thread
class you basically have this..Now this is an over simplification but if the user overrides the
run
method how do I go about collecting the users method from c code?Beta Was this translation helpful? Give feedback.
All reactions