Skip to content

Commit 3c58126

Browse files
committed
Fix import issue with importlib.util
Fixes #1274.
1 parent a884a99 commit 3c58126

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

docs/change_log/index.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@ title: Change Log
33
Python-Markdown Change Log
44
=========================
55

6+
July 15, 2022: version 3.4.1 (a bug-fix release).
7+
8+
* Fix an import issue with `importlib.util` (#1274).
9+
610
July 15, 2022: version 3.4 ([Notes](release-3.4.md)).
711

812
May 5, 2022: version 3.3.7 (a bug-fix release).

markdown/htmlparser.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
"""
2121

2222
import re
23-
import importlib
23+
import importlib.util
2424
import sys
2525

2626

0 commit comments

Comments
 (0)