From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Fri, 22 Mar 2019 08:04:21 +0000 (-0700) Subject: bpo-23984: Improve descriptor documentation (GH-1034) (GH-12459) X-Git-Tag: v3.7.4rc1~314 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=cb2d71b28e5cac04bbd59b8b6dbec220c4da7beb;p=thirdparty%2FPython%2Fcpython.git bpo-23984: Improve descriptor documentation (GH-1034) (GH-12459) --- diff --git a/Doc/howto/descriptor.rst b/Doc/howto/descriptor.rst index 51520b720328..3d1da5ac1b7b 100644 --- a/Doc/howto/descriptor.rst +++ b/Doc/howto/descriptor.rst @@ -372,9 +372,9 @@ calls are unexciting:: ... print(x) ... f = staticmethod(f) ... - >>> print(E.f(3)) + >>> E.f(3) 3 - >>> print(E().f(3)) + >>> E().f(3) 3 Using the non-data descriptor protocol, a pure Python version of