diff options
author | michele.simionato <devnull@localhost> | 2009-01-12 09:25:50 +0000 |
---|---|---|
committer | michele.simionato <devnull@localhost> | 2009-01-12 09:25:50 +0000 |
commit | 9a7f3a2f4aa9d09bde623f2ed357989808795546 (patch) | |
tree | 0086e08477253b056d2ce38e8cfa92cbf920c9bd /mtraits | |
parent | ddd074aab27d786f8e01a38dbe8c807495019a78 (diff) | |
download | micheles-9a7f3a2f4aa9d09bde623f2ed357989808795546.tar.gz |
Fixed a typo and a docstring
Diffstat (limited to 'mtraits')
-rw-r--r-- | mtraits/docs.py | 2 | ||||
-rw-r--r-- | mtraits/strait.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/mtraits/docs.py b/mtraits/docs.py index 6182993..c905f72 100644 --- a/mtraits/docs.py +++ b/mtraits/docs.py @@ -620,7 +620,7 @@ methods. It is a nighmare. Originally I wanted to prevent this kind of abuse, but that made my implementation more complex, whereas my main goal was to keep the implementation simple. As a consequence -this version assume the prosaic attitude that you cannot stop +this version assumes the prosaic attitude that you cannot stop programmers from bad design anyway, so if they want to go the Zope way they can. diff --git a/mtraits/strait.py b/mtraits/strait.py index 108f9ee..5482561 100644 --- a/mtraits/strait.py +++ b/mtraits/strait.py @@ -117,7 +117,7 @@ def new(metatos, name, bases, attrs, traits): return cls def include(*traits, **kw): - "Class decorator factory" + "Returns a class factory" metatos = kw.get('MetaTOS', MetaTOS) # other kw free for future extensions def makecls(name, bases, dic): return new(metatos, name, bases, dic, traits) |