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:
Adam Simpkins 2020-01-29 17:44:41 -08:00 committed by Facebook Github Bot
parent 1da454af80
commit b9790d38d6

View File

@ -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