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]
|
||||
* Make all strings be Unicode, and have a separate bytes() type [1]_
|
||||
The new string type will be called 'str'.
|
||||
* Return iterable views instead of lists where appropriate for atomic type methods
|
||||
(e.g. ``dict.keys()``, ``dict.values()``, ``dict.items()``, etc.); iter*
|
||||
methods will be removed. [done]
|
||||
* Return iterable views instead of lists where appropriate for atomic
|
||||
type methods (e.g. ``dict.keys()``, ``dict.values()``,
|
||||
``dict.items()``, etc.); iter* methods will be removed. [done]
|
||||
* Make ``string.join()`` stringify its arguments? [18]_
|
||||
* 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
|
||||
and fix them if inappropriate.)
|
||||
and fix them if inappropriate.)
|
||||
|
||||
To be removed:
|
||||
|
||||
* ``basestring.find()`` and ``basestring.rfind()``; use ``basestring.index()``
|
||||
or ``basestring.[r]partition()`` or
|
||||
or ``basestring.rindex()`` in a try/except block??? [13]_
|
||||
or ``basestring.[r]partition()`` or
|
||||
or ``basestring.rindex()`` in a try/except block??? [13]_
|
||||
* ``file.xreadlines()`` method [#file-object]_ [done]
|
||||
* ``dict.setdefault()``? [15]_
|
||||
* ``dict.has_key()`` method [done]
|
||||
|
|
Loading…
Reference in New Issue