summaryrefslogtreecommitdiffstats
path: root/ipalib/base.py
diff options
context:
space:
mode:
authorJason Gerard DeRose <jderose@redhat.com>2008-12-30 13:52:36 -0700
committerJason Gerard DeRose <jderose@redhat.com>2008-12-30 13:52:36 -0700
commit03c9114958e428c5fe6b286df9eda3bd932dc9dc (patch)
treee19ba32f21b56d334138d78185c0a79a5f6cc22b /ipalib/base.py
parent11e165073eb3bd21d764fa1c4d71f1e6a52eae1b (diff)
downloadfreeipa-03c9114958e428c5fe6b286df9eda3bd932dc9dc.tar.gz
freeipa-03c9114958e428c5fe6b286df9eda3bd932dc9dc.tar.xz
freeipa-03c9114958e428c5fe6b286df9eda3bd932dc9dc.zip
More docstring cleanup in ipalib.config
Diffstat (limited to 'ipalib/base.py')
-rw-r--r--ipalib/base.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/ipalib/base.py b/ipalib/base.py
index 2d80a0778..1651b01d1 100644
--- a/ipalib/base.py
+++ b/ipalib/base.py
@@ -36,9 +36,10 @@ class ReadOnly(object):
The point of this class is not to make it impossible to set or to delete
attributes after an instance is locked, but to make it impossible to do so
- *accidentally*. Rather than simply telling our programmers something like,
- "Don't set any attributes on this ``FooBar`` instance because doing so wont
- be thread-safe", this class gives us a way to enforce it.
+ *accidentally*. Rather than constantly reminding our programmers of things
+ like, for example, "Don't set any attributes on this ``FooBar`` instance
+ because doing so wont be thread-safe", this class offers a real way to
+ enforce read-only attribute usage.
For example, before a `ReadOnly` instance is locked, you can set and delete
its attributes as normal: