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 dc0adb4 commit d9fc152Copy full SHA for d9fc152
1 file changed
Doc/howto/descriptor.rst
@@ -521,11 +521,11 @@ everyday Python programs.
521
Descriptor protocol
522
-------------------
523
524
-``descr.__get__(self, obj, type=None) -> value``
+``descr.__get__(self, obj, type=None)``
525
526
-``descr.__set__(self, obj, value) -> None``
+``descr.__set__(self, obj, value)``
527
528
-``descr.__delete__(self, obj) -> None``
+``descr.__delete__(self, obj)``
529
530
That is all there is to it. Define any of these methods and an object is
531
considered a descriptor and can override default behavior upon being looked up
0 commit comments