diff --git a/sphinx/config.py b/sphinx/config.py index ba5e9a6ac..407bad31c 100644 --- a/sphinx/config.py +++ b/sphinx/config.py @@ -183,7 +183,7 @@ class Config(object): # type: (unicode, unicode, Dict, Tags) -> Config """Create a Config object from configuration file.""" namespace = eval_config_file(confdir, filename, tags) - return Config(namespace, overrides or {}) + return cls(namespace, overrides or {}) def check_types(self): # type: () -> None