One more attribution.

This commit is contained in:
Raymond Hettinger 2008-07-22 19:18:50 +00:00
parent 5d4d16e44d
commit d8dd86cc26

View file

@ -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