fixed indentation errors
This commit is contained in:
parent
b8656fff37
commit
3c894c31f2
12
pep-3100.txt
12
pep-3100.txt
|
@ -143,19 +143,19 @@ Atomic Types
|
||||||
literals with 'L' or 'l' suffix disappear [1]_ [done]
|
literals with 'L' or 'l' suffix disappear [1]_ [done]
|
||||||
* Make all strings be Unicode, and have a separate bytes() type [1]_
|
* Make all strings be Unicode, and have a separate bytes() type [1]_
|
||||||
The new string type will be called 'str'.
|
The new string type will be called 'str'.
|
||||||
* Return iterable views instead of lists where appropriate for atomic type methods
|
* Return iterable views instead of lists where appropriate for atomic
|
||||||
(e.g. ``dict.keys()``, ``dict.values()``, ``dict.items()``, etc.); iter*
|
type methods (e.g. ``dict.keys()``, ``dict.values()``,
|
||||||
methods will be removed. [done]
|
``dict.items()``, etc.); iter* methods will be removed. [done]
|
||||||
* Make ``string.join()`` stringify its arguments? [18]_
|
* Make ``string.join()`` stringify its arguments? [18]_
|
||||||
* Fix file() so it returns a ValueError if the mode is bad rather than IOError.
|
* Fix file() so it returns a ValueError if the mode is bad rather than IOError.
|
||||||
(This probably affects lots of places, we should review the exceptions
|
(This probably affects lots of places, we should review the exceptions
|
||||||
and fix them if inappropriate.)
|
and fix them if inappropriate.)
|
||||||
|
|
||||||
To be removed:
|
To be removed:
|
||||||
|
|
||||||
* ``basestring.find()`` and ``basestring.rfind()``; use ``basestring.index()``
|
* ``basestring.find()`` and ``basestring.rfind()``; use ``basestring.index()``
|
||||||
or ``basestring.[r]partition()`` or
|
or ``basestring.[r]partition()`` or
|
||||||
or ``basestring.rindex()`` in a try/except block??? [13]_
|
or ``basestring.rindex()`` in a try/except block??? [13]_
|
||||||
* ``file.xreadlines()`` method [#file-object]_ [done]
|
* ``file.xreadlines()`` method [#file-object]_ [done]
|
||||||
* ``dict.setdefault()``? [15]_
|
* ``dict.setdefault()``? [15]_
|
||||||
* ``dict.has_key()`` method [done]
|
* ``dict.has_key()`` method [done]
|
||||||
|
|
Loading…
Reference in New Issue