File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1353,10 +1353,11 @@ Implementing Descriptors
13531353^^^^^^^^^^^^^^^^^^^^^^^^
13541354
13551355The following methods only apply when an instance of the class containing the
1356- method (a so-called *descriptor * class) appears in the class dictionary of
1357- another class, known as the *owner * class. In the examples below, "the
1358- attribute" refers to the attribute whose name is the key of the property in the
1359- owner class' :attr: `__dict__ `.
1356+ method (a so-called *descriptor * class) appears in an *owner * class (the
1357+ descriptor must be in either the owner's class dictionary or in the class
1358+ dictionary for one of its parents). In the examples below, "the attribute"
1359+ refers to the attribute whose name is the key of the property in the owner
1360+ class' :attr: `__dict__ `.
13601361
13611362
13621363.. method :: object.__get__(self, instance, owner)
You can’t perform that action at this time.
0 commit comments