Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ea00798 commit b066edfCopy full SHA for b066edf
1 file changed
Doc/howto/descriptor.rst
@@ -252,10 +252,10 @@ to wrap access to the value attribute in a property data descriptor::
252
253
class Cell(object):
254
. . .
255
- def getvalue(self, obj):
256
- "Recalculate cell before returning value"
+ def getvalue(self):
+ "Recalculate the cell before returning value"
257
self.recalc()
258
- return obj._value
+ return self._value
259
value = property(getvalue)
260
261
0 commit comments