Skip to content

Commit fe9beb2

Browse files
committed
Use raw string in regexp with "\d"...
Bump python versions used in testing
1 parent 7de8937 commit fe9beb2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

admin-tools/pyenv-newer-versions

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ if [[ $0 == ${BASH_SOURCE[0]} ]] ; then
55
echo "This script should be *sourced* rather than run directly through bash"
66
exit 1
77
fi
8-
export PYVERSIONS='3.5.5 3.6.6 3.7.1 2.6.9 3.3.7 2.7.15 3.2.6 3.1.5 3.4.8'
8+
export PYVERSIONS='3.5.5 3.6.8 3.7.2 2.6.9 3.3.7 2.7.15 3.2.6 3.1.5 3.4.8'

uncompyle6/parsers/parse27.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@ class Python27ParserSingle(Python27Parser, PythonParserSingle):
263263
""".split()))
264264
remain_tokens = set(tokens) - opcode_set
265265
import re
266-
remain_tokens = set([re.sub('_\d+$', '', t)
266+
remain_tokens = set([re.sub(r'_\d+$', '', t)
267267
for t in remain_tokens])
268268
remain_tokens = set([re.sub('_CONT$', '', t)
269269
for t in remain_tokens])

0 commit comments

Comments
 (0)