Skip to content
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.

Be compliant with the Python documentation #197

Merged
merged 1 commit into from May 16, 2017
Merged

Conversation

ale-rt
Copy link
Contributor

@ale-rt ale-rt commented May 16, 2017

Description of the Change

Even if -*- is cosmetic and encoding: utf8 is equal to encoding= utf8 in the Python documentation the shown example is

#!/usr/bin/env python
# -*- coding: latin-1 -*-

See:

I would use the form proposed in the doc.

Benefits

It seems to me that the proposed format is more popular.

Even if -*- is cosmetic and encoding: utf8 is equal to encoding= utf8 in the Python documentation the shown example is 
```
#!/usr/bin/env python
# -*- coding: latin-1 -*-
```

See:

- https://docs.python.org/3/howto/unicode.html#unicode-literals-in-python-source-code

I would use the form proposed in the doc. It seems to me to be more popular.
@50Wliu 50Wliu merged commit 19465fe into atom:master May 16, 2017
@ale-rt ale-rt deleted the patch-1 branch May 16, 2017 19:33
@ale-rt
Copy link
Contributor Author

ale-rt commented May 16, 2017

Thanks for the merge, even if I wrote like Yoda :p

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants