From f4e81e1429dd86044e1f40c223d0e9c8698e4ab6 Mon Sep 17 00:00:00 2001 From: Andrew Resch Date: Thu, 6 Nov 2008 00:32:46 +0000 Subject: [PATCH] Fix typos --- deluge/config.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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)