New submission from Tim Golden:
One typo refers to "from __future__ import generators" in the context of
the with statement.
Later what appears to be an incomplete sentence giving an example of the
__dir__ method.
The patch attached is against r59286 of doc/whatsnew/2.6.rst
----------
components: Documentation
files: whatsnew-r59286.patch
messages: 58118
nosy: tim.golden
severity: normal
status: open
title: Minor typos in whatsnew26
versions: Python 2.6, Python 3.0
Added file: http://bugs.python.org/file8861/whatsnew-r59286.patch
__________________________________
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1547>
__________________________________
Index: 2.6.rst
===================================================================
--- 2.6.rst (revision 59286)
+++ 2.6.rst (working copy)
@@ -108,7 +108,7 @@
The previous version, Python 2.5, added the ':keyword:`with`'
statement an optional feature, to be enabled by a ``from __future__
-import generators`` directive. In 2.6 the statement no longer need to
+import with_statement`` directive. In 2.6 the statement no longer need to
be specially enabled; this means that :keyword:`with` is now always a
keyword. The rest of this section is a copy of the corresponding
section from "What's New in Python 2.5" document; if you read
@@ -481,7 +481,7 @@
of strings containing the names of valid attributes for the object,
and lets the object control the value that :func:`dir` produces.
Objects that have :meth:`__getattr__` or :meth:`__getattribute__`
- methods.
+ methods can use this to advertise pseudo-attributes they will honour.
.. % Patch 1591665
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com