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 1 commit into from Jan 2, 2018


Copy link

@dedsm dedsm commented Dec 27, 2017


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

@carltongibson carltongibson left a comment

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
1 check passed
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
None yet

Successfully merging this pull request may close these issues.

None yet

2 participants