Fix typos

This commit is contained in:
Andrew Resch 2008-11-06 00:32:46 +00:00
parent 1ed82d6542
commit f4e81e1429
1 changed files with 3 additions and 3 deletions

View File

@ -176,7 +176,7 @@ class Config(object):
**Usage** **Usage**
>>> config = Config("test.conf", default={"test": 5}) >>> config = Config("test.conf", defaults={"test": 5})
>>> def cb(key, value): >>> def cb(key, value):
>>> print key, value >>> print key, value
>>> config.register_change_callback(cb) >>> config.register_change_callback(cb)
@ -196,7 +196,7 @@ class Config(object):
**Usage** **Usage**
>>> config = Config("test.conf", default={"test": 5}) >>> config = Config("test.conf", defaults={"test": 5})
>>> def cb(key, value): >>> def cb(key, value):
>>> print key, value >>> print key, value
>>> config.register_set_function("test", cb) >>> config.register_set_function("test", cb)
@ -217,7 +217,7 @@ class Config(object):
**Usage** **Usage**
>>> config = Config("test.conf", default={"test": 5}) >>> config = Config("test.conf", defaults={"test": 5})
>>> def cb(key, value): >>> def cb(key, value):
>>> print key, value >>> print key, value
>>> config.register_set_function("test", cb) >>> config.register_set_function("test", cb)