From abbdd1fc5c2017683da8d2ed3e8843e8c159bc8c Mon Sep 17 00:00:00 2001 From: Shubham Aggarwal Date: Wed, 20 Mar 2019 08:25:55 +0530 Subject: [PATCH] bpo-23984: Improve descriptor documentation (GH-1034) https://bugs.python.org/issue23984 --- Doc/howto/descriptor.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Doc/howto/descriptor.rst b/Doc/howto/descriptor.rst index 672324b172..b29e590b20 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 -- 2.49.0