mirror of
https://github.com/python/cpython.git
synced 2025-09-26 10:19:53 +00:00
One more attribution.
This commit is contained in:
parent
5d4d16e44d
commit
d8dd86cc26
1 changed files with 2 additions and 2 deletions
|
@ -1591,8 +1591,8 @@ Here are all of the changes that Python 2.6 makes to the core Python language.
|
||||||
* The string :meth:`translate` method now accepts ``None`` as the
|
* The string :meth:`translate` method now accepts ``None`` as the
|
||||||
translation table parameter, which is treated as the identity
|
translation table parameter, which is treated as the identity
|
||||||
transformation. This makes it easier to carry out operations
|
transformation. This makes it easier to carry out operations
|
||||||
that only delete characters. (Contributed by Bengt Richter;
|
that only delete characters. (Contributed by Bengt Richter and
|
||||||
:issue:`1193128`.)
|
implemented by Raymond Hettinger; :issue:`1193128`.)
|
||||||
|
|
||||||
* The built-in :func:`dir` function now checks for a :meth:`__dir__`
|
* The built-in :func:`dir` function now checks for a :meth:`__dir__`
|
||||||
method on the objects it receives. This method must return a list
|
method on the objects it receives. This method must return a list
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue