We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6b71ec7 + 53eb7e3 commit 859ffe3Copy full SHA for 859ffe3
1 file changed
src/typecode/_vendor/pygments/plugin.py
@@ -43,11 +43,11 @@
43
44
def iter_entry_points(group_name):
45
try:
46
- import pkg_resources
+ import importlib.metadata
47
except (ImportError, IOError):
48
return []
49
50
- return pkg_resources.iter_entry_points(group_name)
+ return importlib.metadata.entry_points(group=group_name)
51
52
53
def find_plugin_lexers():
0 commit comments