Commit Graph

10 Commits

Author SHA1 Message Date
Raymond Hettinger a37771e3cb * str.startwith() is less errorprone that slice comparisons but not as fast.
* Fix minor typos.
2003-09-27 02:53:59 +00:00
Raymond Hettinger 9ddde8f432 Add advisory to replace apply(). 2003-03-07 00:21:42 +00:00
Raymond Hettinger 9c13bfc40f Just pointed out an improvement to the code example. 2003-01-25 20:30:02 +00:00
Raymond Hettinger 45511b4a61 Jp Calderone pointed out that most Python library modules were updated
to support __iter__ and __contains__.

* Removed shelve as a specific counter-example.
* Changed the wording to "may not" so that user and third party modules
  are considered.
2003-01-25 20:21:30 +00:00
Raymond Hettinger ae0f0f9903 Added migration issue for booleans. 2003-01-25 20:15:35 +00:00
Raymond Hettinger f6e3df20d0 Good modernization advice from Terry J. Reedy:
Don't use list, dict, file, and such as variable names.
2003-01-15 01:55:12 +00:00
David Goodger 631ff7f4a7 Converted to reStructuredText & edited for readability. 2002-08-30 03:11:40 +00:00
Barry Warsaw c055edb47d Added a recommendation to use s2 in s1 for Python 2.3 and later. 2002-08-12 14:22:33 +00:00
Raymond Hettinger b26cc7ccc7 Version correction spotted by Zoltan Felleg 2002-06-30 23:02:23 +00:00
Raymond Hettinger 44902ac34b Initial draft from discussions on py-dev. 2002-06-17 12:01:48 +00:00