Skip to content
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

bpo-33371: Clarify the inspect.getmembers predicate parameter #6615

Merged
merged 1 commit into from
Apr 26, 2018

Conversation

briancurtin
Copy link
Member

@briancurtin briancurtin commented Apr 26, 2018

Previously, the predicate parameter was mentioned, but what it was to be called with was not documented and required either trial-and-error or looking into the source to find that it is called with the value, or second item, of the full members list. This change addresses what the predicate callable will receive, as well as does some light formatting to make this clear.

https://bugs.python.org/issue33371

Previously, the predicate parameter was mentioned, but what it was to be
called with was not documented and required either trial-and-error or
looking into the source to find that it is called with the `value`, or
second item, of the full members list. This change addresses what the
predicate will receive, as well as does some light formatting to make
this clear.
@bedevere-bot
Copy link

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

@briancurtin briancurtin deleted the fix-issue-33371 branch April 26, 2018 23:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants