Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 5e741f1

Browse files
authored
Merge pull request #16 from EggPool/patch-1
Fallback to backport
2 parents c3262d8 + 7bf3e63 commit 5e741f1

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

‎etherscan/etherscan.py‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
import json
2-
from importlib import resources
2+
try:
3+
from importlib import resources
4+
except ImportError:
5+
import importlib_resources as resources
36

47
import requests
58

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /