From: Yonatan Goldschmidt Date: Tue, 28 Jul 2020 23:56:26 +0000 (+0300) Subject: Remove incorrect mention of method.__class__ in descriptor docs (GH-21665) X-Git-Tag: v3.10.0a1~330 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f6a16e8a82d5673bc1897e0f251deb5173095689;p=thirdparty%2FPython%2Fcpython.git Remove incorrect mention of method.__class__ in descriptor docs (GH-21665) --- diff --git a/Doc/howto/descriptor.rst b/Doc/howto/descriptor.rst index 6928917dbe42..b792b6c6ab77 100644 --- a/Doc/howto/descriptor.rst +++ b/Doc/howto/descriptor.rst @@ -312,14 +312,12 @@ Running the interpreter shows how the function descriptor works in practice:: >>> d.f > - # Internally, the bound method stores the underlying function, - # the bound instance, and the class of the bound instance. + # Internally, the bound method stores the underlying function and + # the bound instance. >>> d.f.__func__ >>> d.f.__self__ <__main__.D object at 0x1012e1f98> - >>> d.f.__class__ - Static Methods and Class Methods