diff --git a/docs/conf.py b/docs/conf.py index 7df5bb2..05d8fe1 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -22,13 +22,6 @@ "sphinx.ext.viewcode", ] -# Mock out micropython ourselves so that we can make const a lambda. -import imp - -m = imp.new_module("micropython") -m.const = lambda x: x -sys.modules["micropython"] = m - intersphinx_mapping = { "python": ("https://docs.python.org/3", None), "BusDevice": (