You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
there are lots of methods which call the methods of superclass that there exactly isn't this method in the superclass and the names of these two methods are always the same. Is this a special feature for Python?
eg. super(SimpleSynchronizationStrategyMixin,self).set_messenger(messenger)
the superclass of SimpleSynchronizationStrategyMixin is object not containing the method "set_messenger". Exactly the name of method containing this line of code is also "set_messenger"
The text was updated successfully, but these errors were encountered:
Yeah, read the section in the docs about mix in classes, it's an unusual
pattern in most languages and relies on dynamic method lookup at runtime.
Very confusing at first but it affords a great deal of flexibility and code
reuse.
On Sun, 19 May 2019, 9:50 AM LC-HX, ***@***.***> wrote:
there are lots of methods which call the methods of superclass that there
exactly isn't this method in the superclass and the names of these two
methods are always the same. Is this a special feature for Python?
eg. super(SimpleSynchronizationStrategyMixin,self).set_messenger(messenger)
the superclass of SimpleSynchronizationStrategyMixin is object not
containing the method "set_messenger". Exactly the name of method
containing this line of code is also "set_messenger"
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#12?email_source=notifications&email_token=AANMW7HVQQTDG7QZMMQNV23PWFSLJA5CNFSM4HN4UVJKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4GUSZRYA>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AANMW7AQNYHEPQMJS5K2PZTPWFSLJANCNFSM4HN4UVJA>
.
there are lots of methods which call the methods of superclass that there exactly isn't this method in the superclass and the names of these two methods are always the same. Is this a special feature for Python?
eg. super(SimpleSynchronizationStrategyMixin,self).set_messenger(messenger)
the superclass of SimpleSynchronizationStrategyMixin is object not containing the method "set_messenger". Exactly the name of method containing this line of code is also "set_messenger"
The text was updated successfully, but these errors were encountered: