diff --git a/deluge/config.py b/deluge/config.py index c35ed1a2a..aff5c4158 100644 --- a/deluge/config.py +++ b/deluge/config.py @@ -176,7 +176,7 @@ class Config(object): **Usage** - >>> config = Config("test.conf", default={"test": 5}) + >>> config = Config("test.conf", defaults={"test": 5}) >>> def cb(key, value): >>> print key, value >>> config.register_change_callback(cb) @@ -196,7 +196,7 @@ class Config(object): **Usage** - >>> config = Config("test.conf", default={"test": 5}) + >>> config = Config("test.conf", defaults={"test": 5}) >>> def cb(key, value): >>> print key, value >>> config.register_set_function("test", cb) @@ -217,7 +217,7 @@ class Config(object): **Usage** - >>> config = Config("test.conf", default={"test": 5}) + >>> config = Config("test.conf", defaults={"test": 5}) >>> def cb(key, value): >>> print key, value >>> config.register_set_function("test", cb)