diff --git a/bindings/pyroot/pythonizations/python/ROOT/_facade.py b/bindings/pyroot/pythonizations/python/ROOT/_facade.py index c22ae40da4c2d..da8b6681ec2f2 100644 --- a/bindings/pyroot/pythonizations/python/ROOT/_facade.py +++ b/bindings/pyroot/pythonizations/python/ROOT/_facade.py @@ -142,7 +142,7 @@ def __init__(self, module, is_ipython): self.__all__ = module.__all__ self.__name__ = module.__name__ self.__file__ = module.__file__ - self.__cached__ = module.__cached__ + self.__spec__ = module.__spec__ self.__path__ = module.__path__ self.__doc__ = module.__doc__ self.__package__ = module.__package__