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 7cfede6 commit b7722edCopy full SHA for b7722ed
Doc/howto/descriptor.rst
@@ -312,14 +312,12 @@ Running the interpreter shows how the function descriptor works in practice::
312
>>> d.f
313
<bound method D.f of <__main__.D object at 0x00B18C90>>
314
315
- # Internally, the bound method stores the underlying function,
316
- # the bound instance, and the class of the bound instance.
+ # Internally, the bound method stores the underlying function and
+ # the bound instance.
317
>>> d.f.__func__
318
<function D.f at 0x1012e5ae8>
319
>>> d.f.__self__
320
<__main__.D object at 0x1012e1f98>
321
- >>> d.f.__class__
322
- <class 'method'>
323
324
325
Static Methods and Class Methods
0 commit comments