commit | cb2d71b28e5cac04bbd59b8b6dbec220c4da7beb | [log] [tgz] |
---|---|---|
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | Fri Mar 22 01:04:21 2019 -0700 |
committer | Raymond Hettinger <rhettinger@users.noreply.github.com> | Fri Mar 22 01:04:21 2019 -0700 |
tree | 627213ea9fcc90d0e7341a8dea4b5d80c5534389 | |
parent | fdd82338a34d3c6a2e014a4a4a32d7241448734b [diff] |
bpo-23984: Improve descriptor documentation (GH-1034) (GH-12459)
diff --git a/Doc/howto/descriptor.rst b/Doc/howto/descriptor.rst index 51520b7..3d1da5a 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