Skip to content
This repository has been archived by the owner on Nov 15, 2022. It is now read-only.

Commit

Permalink
Fix DeprecationWarning on Python 3.8. Closes #28
Browse files Browse the repository at this point in the history
  • Loading branch information
mnaberez committed Apr 8, 2020
1 parent d6f9fb7 commit 58e0fa2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion meld3/__init__.py
Expand Up @@ -1098,7 +1098,7 @@ def _encode_attrib(k, v, encoding):

# overrides to elementtree to increase speed and get entity quoting correct.

_NONENTITY_RE = re.compile(_b('&(?!([#\w]*;))')) # negative lookahead assertion
_NONENTITY_RE = re.compile(_b(r'&(?!([#\w]*;))')) # negative lookahead assertion

def _escape_cdata(text, encoding=None):
# Return escaped character data as bytes.
Expand Down

0 comments on commit 58e0fa2

Please sign in to comment.