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

Python ligature request: //= #816

Closed
jthistle opened this issue Aug 18, 2019 · 3 comments
Closed

Python ligature request: //= #816

jthistle opened this issue Aug 18, 2019 · 3 comments
Milestone

Comments

@jthistle
Copy link

This is an operator in Python similar to /=. Since // is integer division (divide by and discard any remainder), //= is used to do this in place. This might not be very common to see, but would be nice for completeness. Thanks!

@j-f1
Copy link
Contributor

j-f1 commented Aug 19, 2019

It’s also used (for a completely different purpose) in a Rails/JavaScript environment, like so:

//= require foo

@tonsky
Copy link
Owner

tonsky commented Aug 19, 2019

Ok thanks I’ll try

@jthistle
Copy link
Author

Thank you!

@tonsky tonsky added this to the 5 milestone May 16, 2020
@tonsky tonsky closed this as completed in 267a6fd Jun 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants