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

Don't use u"..." in Python 2.7 when there's from __future__ import unicode_literals #188

Closed
jeffdunn opened this issue May 3, 2018 · 1 comment
Assignees
Labels
T: enhancement New feature or request

Comments

@jeffdunn
Copy link

jeffdunn commented May 3, 2018

Since all literals will be unicode in this case, it should be fine to just use normal double quoted strings rather than prefix them with u.

Operating system: CentOS7
Python version: 3.6
Black version: 18.4a4

@zsol zsol self-assigned this May 4, 2018
@zsol zsol added the T: enhancement New feature or request label May 4, 2018
@ambv
Copy link
Collaborator

ambv commented May 5, 2018

That sounds like a good idea!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
T: enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants