-
-
Notifications
You must be signed in to change notification settings - Fork 33.9k
bpo-23702: Update Descriptor-HOWTO to reflect the removal of unbound … #3739
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Maybe now would be a good time to take a look at https://bugs.python.org/issue17894 ? |
serhiy-storchaka
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not competent in reviewing English, but overall look good to me. Except one suspicious place.
| are written using :keyword:`def` and :keyword:`lambda`, the usual tools for | ||
| creating functions. The only difference from regular functions is that the | ||
| are written using :keyword:`def` or :keyword:`lambda`, the usual tools for | ||
| creating functions. Methods only differ from regular functions in that the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure about "in that".
|
|
||
| >>> class D(object): | ||
| ... def f(self, x): | ||
| ... return x |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(object) above can be removed.
Sure. Look also at https://bugs.python.org/issue26103. |
|
Thanks @rhettinger for the PR 🌮🎉.. I'm working now to backport this PR to: 3.6. |
|
GH-3742 is a backport of this pull request to the 3.6 branch. |
…bound methods (pythonGH-3739) (cherry picked from commit 0d4497b)
https://bugs.python.org/issue23702