mirror of
https://github.com/facebook/sapling.git
synced 2024-10-06 06:47:41 +03:00
py3/cython: set the language_level to 3str
Summary: Follow up to the previous diff setting language_level to 3str for `edenscmnative/clindex.pyx`. Consistent behavior for all files. Reviewed By: quark-zju Differential Revision: D19634907 fbshipit-source-id: 779d6090b5660e109a37f9740299fb9623d8f34d
This commit is contained in:
parent
13b7a759a2
commit
843f8a7f50
@ -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
|
||||
|
@ -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
|
||||
|
||||
from libc.errno cimport errno
|
||||
from libc.stdint cimport uint32_t, uint8_t
|
||||
from libc.stdlib cimport malloc, free, realloc
|
||||
|
@ -5,6 +5,8 @@
|
||||
# This software may be used and distributed according to the terms of the
|
||||
# GNU General Public License version 2 or any later version.
|
||||
|
||||
# cython: language_level=3str
|
||||
|
||||
"""patch rmdir
|
||||
|
||||
Check if a directory is empty before trying to call rmdir on it. This works
|
||||
|
@ -7,6 +7,8 @@
|
||||
# This software may be used and distributed according to the terms of the
|
||||
# GNU General Public License version 2 or any later version.
|
||||
|
||||
# cython: language_level=3str
|
||||
|
||||
"""accurate callgraph profiling
|
||||
|
||||
lsprof's high precision, plus statprof's intuitive output format.
|
||||
|
@ -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
|
||||
|
||||
from libc.errno cimport errno
|
||||
from libc.stdint cimport uint32_t, uint8_t
|
||||
from libc.stdlib cimport malloc, free, realloc
|
||||
|
@ -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
|
||||
|
||||
"""patch rmdir
|
||||
|
||||
Check if a directory is empty before trying to call rmdir on it. This works
|
||||
|
@ -4,6 +4,7 @@
|
||||
# GNU General Public License version 2.
|
||||
|
||||
# distutils: language = c++
|
||||
# cython: language_level=3str
|
||||
|
||||
# traceprof.pyx - C++ to Python bridge for the traceprof Mercurial extension
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user