未验证 提交 d8daf64e 编写于 作者: A Aurelius84 提交者: GitHub

[Dy2St]Fix Regex DeprecationWarning in PY3 (#46829)

上级 fdd0d6d0
...@@ -94,7 +94,7 @@ FOR_ITER_VAR_NAME_PREFIX = '__for_loop_iter_var' ...@@ -94,7 +94,7 @@ FOR_ITER_VAR_NAME_PREFIX = '__for_loop_iter_var'
FOR_ITER_ZIP_TO_LIST_PREFIX = '__for_loop_iter_zip' FOR_ITER_ZIP_TO_LIST_PREFIX = '__for_loop_iter_zip'
RE_PYNAME = '[a-zA-Z0-9_]+' RE_PYNAME = '[a-zA-Z0-9_]+'
RE_PYMODULE = '[a-zA-Z0-9_]+\.' RE_PYMODULE = r'[a-zA-Z0-9_]+\.'
# FullArgSpec is valid from Python3. Defined a Namedtuple to # FullArgSpec is valid from Python3. Defined a Namedtuple to
# to make it available in Python2. # to make it available in Python2.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册