-
-
Save bennofs/65af82328bbd0c0e5db19d2a99070cc7 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
:: attr-base | |
value of `self.attr` as observed by base is: | |
value of `base.attr` as observed by child is: | |
base attribute | |
:: attr-base-calculated | |
value of `base.calculated-attr` as observed by attr-base-calculated is: | |
value of `self.attr` as observed by base is: | |
base attribute | |
:: attr-base-calculated-constant | |
value of `base.calculated-attr` as observed by attr-base-calculated is: | |
value of `self.attr` as observed by base is: | |
base attribute | |
:: attr-constant | |
value of `self.attr` as observed by base is: | |
constant attribute value | |
:: attr-self | |
infinite recursion | |
:: attr-self-calculated | |
value of `self.calculated-attr` as observed by child is: | |
value of `self.attr` as observed by base is: | |
child attribute | |
:: attr-self-calculated-constant | |
value of `self.calculated-attr` as observed by child is: | |
grandchild calculated attribute | |
:: attr-self-constant | |
value of `self.attr` as observed by base is: | |
grandchild attribute | |
:: attr-super | |
value of `self.attr` as observed by base is: | |
value of `super.attr` as observed by child is: | |
base attribute | |
:: attr-super-calculated | |
value of `super.calculated-attr` as observed by child is: | |
value of `self.attr` as observed by base is: | |
child attribute | |
:: attr-super-calculated-constant | |
value of `super.calculated-attr` as observed by child is: | |
value of `self.attr` as observed by base is: | |
child attribute | |
:: attr-union | |
value of `self.attr` as observed by base is: | |
base attribute | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment