Skip to content

Commit b2c4ede

Browse files
committed
Minor fix-up to get 3to2 to work with syntax errors being introduced.
1 parent afb5cbe commit b2c4ede

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

html5lib/serializer/htmlserializer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
from sets import ImmutableSet as frozenset
66

77
try:
8-
# use functools.reduce to avoid DeprecationWarning with -3
98
from functools import reduce
9+
pass # no-op statement to avoid 3to2 introducing parse error
1010
except ImportError:
1111
pass
1212

0 commit comments

Comments
 (0)