--- a/hgdemandimport/demandimportpy2.py Wed Nov 13 20:42:13 2019 +0100
+++ b/hgdemandimport/demandimportpy2.py Sun Dec 01 18:46:10 2019 -0500
@@ -303,18 +303,18 @@
def enable():
- "enable global demand-loading of modules"
+ """enable global demand-loading of modules"""
builtins.__import__ = _demandimport
def disable():
- "disable global demand-loading of modules"
+ """disable global demand-loading of modules"""
builtins.__import__ = _origimport
@contextmanager
def deactivated():
- "context manager for disabling demandimport in 'with' blocks"
+ """context manager for disabling demandimport in 'with' blocks"""
demandenabled = isenabled()
if demandenabled:
disable()