Create new "Atomic Types" section and add mention of removal of basestring.find

and friends.
This commit is contained in:
Brett Cannon 2005-08-27 18:27:33 +00:00
parent cb0f99bfd6
commit 5126f6dbf7
1 changed files with 15 additions and 3 deletions

View File

@ -73,8 +73,8 @@ To be removed:
* Unbound methods [7]_
Built-ins
=========
Built-in Namespace
==================
* Make built-ins return an iterator where appropriate (e.g. ``range()``,
``zip()``, etc.)
@ -100,6 +100,15 @@ To be removed:
* ``xrange()``: use ``range()`` instead [1]_
Atomic Types
============
To be removed:
* ``basestring.find()`` and ``basestring.rfind()``; use ``basestring.index()``
or ``basestring.rindex()`` in a try/except block [15]_
Standard library
================
@ -157,6 +166,9 @@ References
.. [14] python-dev email ("PEP 8: exception style")
http://mail.python.org/pipermail/python-dev/2005-August/055190.html
.. [15] python-dev email (Remove str.find in 3.0?)
http://mail.python.org/pipermail/python-dev/2005-August/055705.html
Copyright
=========