diff options
author | michele.simionato <devnull@localhost> | 2009-01-05 17:06:46 +0000 |
---|---|---|
committer | michele.simionato <devnull@localhost> | 2009-01-05 17:06:46 +0000 |
commit | 7a2068152e7619ca88db00252fd670d829ac1b8c (patch) | |
tree | 29380d3b17eed2775463f7c35c42b170a25ba9d4 /mtraits/docs.py | |
parent | fc780c1fc117256cf5b594ac94e03499d3de9431 (diff) | |
download | micheles-7a2068152e7619ca88db00252fd670d829ac1b8c.tar.gz |
Version 0.5.1 of the strait module
Diffstat (limited to 'mtraits/docs.py')
-rw-r--r-- | mtraits/docs.py | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/mtraits/docs.py b/mtraits/docs.py index 85f1788..6182993 100644 --- a/mtraits/docs.py +++ b/mtraits/docs.py @@ -311,14 +311,6 @@ in return many advantages in terms of simplicity: for instance, whereas we all know that the `current super in Python`_ is very far from trivial. -More importantly, many people use multiple inheritance incorrectly, -confusing the ``is-a`` relation with the ``has-a`` relation; with -traits, there is no confusion. Since there is a single base class, you -can associate the ``is-a`` relation with the base class whereas the -features coming from the traits correspond to ``has-a``: for instance -in the Tkinter example a ``Widget`` *is* a ``BaseWidget`` but has the -methods of the traits ``Pack``, ``Place`` and ``Grid``. - .. _current super in Python: http://www.artima.com/weblogs/viewpost.jsp?thread=236275 .. _elsewhere: http://www.artima.com/weblogs/viewpost.jsp?thread=246341 .. _PloneSite hierarchy: http://www.phyast.pitt.edu/~micheles/python/plone-hierarchy.png @@ -682,7 +674,7 @@ thinking that the ``s`` also stands for Simionato ;) """ from datetime import datetime TODAY = datetime.today().isoformat()[:10] -VERSION = '0.5.0' +VERSION = '0.5.1' __doc__ = __doc__.replace('VERSION', VERSION).replace('TODAY', TODAY) |