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

Itertools docs: change itemgetter to operator.itemgetter #12823

Merged
merged 1 commit into from
Apr 23, 2019
Merged

Itertools docs: change itemgetter to operator.itemgetter #12823

merged 1 commit into from
Apr 23, 2019

Conversation

jmolinski
Copy link
Contributor

In a recipe in itertools documentation the itemgetter function was referred to without being imported and without specifying the module.

This was inconsistent with other functions from operator module which are referred to with the qualified name (e.g. operator.mul, operator.add).

Since this is a trivial change I didn't file a tracker issue.

Copy link
Member

@tirkarthi tirkarthi left a comment

Choose a reason for hiding this comment

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

LGTM. Makes it consistent as noted in the PR description where other examples have respective module name. Thanks 👍

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 issue skip news
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants