mirror of
https://github.com/facebook/sapling.git
synced 2024-10-07 23:38:50 +03:00
py3: explicitly set the language_level to 3str
Summary: This causes the code to always treat unprefixed string literals as the `str`: i.e., bytes in Python 2 and Unicode in Python 3. Without this setting our unprefixed string literals were always being treated as unicode. Reviewed By: lisroach Differential Revision: D19634266 fbshipit-source-id: 770d7d03a96aa92a4e183819d34c72281c6c794b
This commit is contained in:
parent
1da454af80
commit
b9790d38d6
@ -3,6 +3,8 @@
|
||||
# This software may be used and distributed according to the terms of the
|
||||
# GNU General Public License version 2.
|
||||
|
||||
# cython: language_level=3str
|
||||
|
||||
"""alternative changelog index
|
||||
|
||||
This extension replaces certain parts of changelog index algorithms to make it
|
||||
|
Loading…
Reference in New Issue
Block a user