Skip to content

Commit 863d6ac

Browse files
authored
Merge pull request #48 from FoamyGuy/fix_docs_build
remove imp module usage
2 parents 1aff711 + 4e2fbbb commit 863d6ac

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

docs/conf.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,6 @@
2222
"sphinx.ext.viewcode",
2323
]
2424

25-
# Mock out micropython ourselves so that we can make const a lambda.
26-
import imp
27-
28-
m = imp.new_module("micropython")
29-
m.const = lambda x: x
30-
sys.modules["micropython"] = m
31-
3225
intersphinx_mapping = {
3326
"python": ("https://docs.python.org/3", None),
3427
"BusDevice": (

0 commit comments

Comments
 (0)