commit | d157237d51177030ea83ce953c209d72a9795ca9 | [log] [tgz] |
---|---|---|
author | Fred Drake <fdrake@acm.org> | Sat Sep 29 04:58:32 2001 +0000 |
committer | Fred Drake <fdrake@acm.org> | Sat Sep 29 04:58:32 2001 +0000 |
tree | 33a30c72cd4abc44d2d2dc6fdf53e52a49965dbc | |
parent | 787fd8cdeb72bea74a79e5acf61debfd11683502 [diff] |
For Python 2.2, do not use __getattr__(), only use computed properties. This is probably a little bit faster, but mostly is just cleaner code. The old-style support is still used for Python versions < 2.2 so this source file can be shared with PyXML.