From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Wed, 29 Jul 2020 01:39:43 +0000 (-0700) Subject: Remove incorrect mention of method.__class__ in descriptor docs (GH-21665) (GH-21668) X-Git-Tag: v3.8.6rc1~64 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b7722ed0f39120c66186aae0f63a82fdff93c55d;p=thirdparty%2FPython%2Fcpython.git Remove incorrect mention of method.__class__ in descriptor docs (GH-21665) (GH-21668) --- diff --git a/Doc/howto/descriptor.rst b/Doc/howto/descriptor.rst index 9856e6caec09..4d25d2ccb665 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