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

using rsplit to get module and classname for imports #5712

Merged
merged 1 commit into from
Jan 2, 2018

Conversation

dedsm
Copy link
Contributor

@dedsm dedsm commented Dec 27, 2017

Description

While checking the code to steal the import parts to a project of my own I came across this two lines that could be rewritten, nothing fancy but hey, one line less

Copy link
Collaborator

@carltongibson carltongibson left a comment

Choose a reason for hiding this comment

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

Yep. Great. Thanks. 👍

@carltongibson carltongibson added this to the 3.8 Release milestone Jan 2, 2018
@carltongibson carltongibson merged commit 6b0bf72 into encode:master Jan 2, 2018
pchiquet pushed a commit to pchiquet/django-rest-framework that referenced this pull request Nov 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants