Skip to content

Conversation

@rhettinger
Copy link
Contributor

@rhettinger rhettinger commented Apr 28, 2019

@jdufresne
Copy link
Contributor

Would it make sense to update the signature line to?

.. method:: object.__get__(self, instance, owner=None)

Copy link
Contributor

@jdemeyer jdemeyer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As explained on bpo-36743, the text "Note that callers are allowed to omit the owner argument when it isn't needed." is not actually true in general, or trivially true depending on how you interpret "isn't needed".

@rhettinger rhettinger force-pushed the descr_get_optional_owner branch from 67289b1 to f312558 Compare August 29, 2019 07:07
@rhettinger rhettinger merged commit 0dac68f into python:master Aug 29, 2019
@rhettinger rhettinger deleted the descr_get_optional_owner branch August 29, 2019 08:27
@bedevere-bot
Copy link

@rhettinger: Please replace # with GH- in the commit message next time. Thanks!

@miss-islington
Copy link
Contributor

Thanks @rhettinger for the PR 🌮🎉.. I'm working now to backport this PR to: 3.8.
🐍🍒⛏🤖

@bedevere-bot
Copy link

GH-15589 is a backport of this pull request to the 3.8 branch.

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Aug 29, 2019
…thonGH-12992)

(cherry picked from commit 0dac68f)

Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com>
rhettinger added a commit that referenced this pull request Aug 29, 2019
…-12992) (GH-15589)

(cherry picked from commit 0dac68f)

Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com>
websurfer5 pushed a commit to websurfer5/cpython that referenced this pull request Jul 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Documentation in the Doc dir skip news

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants