commit | abbdd1fc5c2017683da8d2ed3e8843e8c159bc8c | [log] [tgz] |
---|---|---|
author | Shubham Aggarwal <shubham.aggarwal@zomato.com> | Wed Mar 20 08:25:55 2019 +0530 |
committer | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | Tue Mar 19 19:55:55 2019 -0700 |
tree | 63ea1eedb4bde34d5ee180ead490db854e58c463 | |
parent | 4a1468e593c4b67d8c78b78070fff9e18ec5d790 [diff] [blame] |
bpo-23984: Improve descriptor documentation (GH-1034) https://bugs.python.org/issue23984
diff --git a/Doc/howto/descriptor.rst b/Doc/howto/descriptor.rst index 672324b..b29e590 100644 --- a/Doc/howto/descriptor.rst +++ b/Doc/howto/descriptor.rst
@@ -372,9 +372,9 @@ ... 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