[Python-checkins] r57011 - in doctools/trunk: Doc-26/documenting/index.rst Doc-3k/library/string.rst Doc-3k/whatsnew/2.6.rst

georg.brandl python-checkins at python.org
Tue Aug 14 11:31:23 CEST 2007


Author: georg.brandl
Date: Tue Aug 14 11:31:22 2007
New Revision: 57011

Modified:
   doctools/trunk/Doc-26/documenting/index.rst
   doctools/trunk/Doc-3k/library/string.rst
   doctools/trunk/Doc-3k/whatsnew/2.6.rst
Log:
Port rev. 57009, also fix the docs for string.whitespace.


Modified: doctools/trunk/Doc-26/documenting/index.rst
==============================================================================
--- doctools/trunk/Doc-26/documenting/index.rst	(original)
+++ doctools/trunk/Doc-26/documenting/index.rst	Tue Aug 14 11:31:22 2007
@@ -27,6 +27,7 @@
    style.rst
    rest.rst
    markup.rst
+   fromlatex.rst
    sphinx.rst
 
 .. XXX add credits, thanks etc.

Modified: doctools/trunk/Doc-3k/library/string.rst
==============================================================================
--- doctools/trunk/Doc-3k/library/string.rst	(original)
+++ doctools/trunk/Doc-3k/library/string.rst	Tue Aug 14 11:31:22 2007
@@ -53,22 +53,6 @@
    The string ``'0123456789abcdefABCDEF'``.
 
 
-.. data:: letters
-
-   The concatenation of the strings :const:`lowercase` and :const:`uppercase`
-   described below.  The specific value is locale-dependent, and will be updated
-   when :func:`locale.setlocale` is called.
-
-
-.. data:: lowercase
-
-   A string containing all the characters that are considered lowercase letters.
-   On most systems this is the string ``'abcdefghijklmnopqrstuvwxyz'``.  Do not
-   change its definition --- the effect on the routines :func:`upper` and
-   :func:`swapcase` is undefined.  The specific value is locale-dependent, and will
-   be updated when :func:`locale.setlocale` is called.
-
-
 .. data:: octdigits
 
    The string ``'01234567'``.
@@ -76,32 +60,22 @@
 
 .. data:: punctuation
 
-   String of ASCII characters which are considered punctuation characters in the
-   ``C`` locale.
+   String of ASCII characters which are considered punctuation characters
+   in the ``C`` locale.
 
 
 .. data:: printable
 
-   String of characters which are considered printable.  This is a combination of
-   :const:`digits`, :const:`letters`, :const:`punctuation`, and
-   :const:`whitespace`.
-
-
-.. data:: uppercase
-
-   A string containing all the characters that are considered uppercase letters.
-   On most systems this is the string ``'ABCDEFGHIJKLMNOPQRSTUVWXYZ'``.  Do not
-   change its definition --- the effect on the routines :func:`lower` and
-   :func:`swapcase` is undefined.  The specific value is locale-dependent, and will
-   be updated when :func:`locale.setlocale` is called.
+   String of ASCII characters which are considered printable.  This is a
+   combination of :const:`digits`, :const:`ascii_letters`, :const:`punctuation`,
+   and :const:`whitespace`.
 
 
 .. data:: whitespace
 
-   A string containing all characters that are considered whitespace. On most
-   systems this includes the characters space, tab, linefeed, return, formfeed, and
-   vertical tab.  Do not change its definition --- the effect on the routines
-   :func:`strip` and :func:`split` is undefined.
+   A string containing all characters that are considered whitespace.
+   This includes the characters space, tab, linefeed, return, formfeed, and
+   vertical tab.
 
 
 Template strings

Modified: doctools/trunk/Doc-3k/whatsnew/2.6.rst
==============================================================================
--- doctools/trunk/Doc-3k/whatsnew/2.6.rst	(original)
+++ doctools/trunk/Doc-3k/whatsnew/2.6.rst	Tue Aug 14 11:31:22 2007
@@ -102,7 +102,7 @@
 by module name. Consult the :file:`Misc/NEWS` file in the source tree for a more
 complete list of changes, or look through the CVS logs for all the details.
 
-* New data type in the :mod:`collections` module: :class:`NamedTuple(typename,
+* A new data type in the :mod:`collections` module: :class:`NamedTuple(typename,
   fieldnames)` is a factory function that creates subclasses of the standard tuple
   whose fields are accessible by name as well as index.  For example::
 
@@ -115,7 +115,7 @@
 
   (Contributed by Raymond Hettinger.)
 
-* New method in the :mod:`curses` module: for a window, :meth:`chgat` changes
+* A new method in the :mod:`curses` module: for a window, :meth:`chgat` changes
   the display characters for a  certain number of characters on a single line. ::
 
      # Boldface text starting at y=0,x=21 
@@ -124,9 +124,14 @@
 
   (Contributed by Fabian Kreutz.)
 
+* The :func:`glob.glob` function can now return Unicode filenames if 
+  a Unicode path was used and Unicode filenames are matched within the directory.
+
+  .. % Patch #1001604
+
 * The :mod:`gopherlib` module has been removed.
 
-* New function in the :mod:`heapq` module: ``merge(iter1, iter2, ...)``
+* A new function in the :mod:`heapq` module: ``merge(iter1, iter2, ...)``
   takes any number of iterables that return data  *in sorted order*,  and  returns
   a new iterator that returns the contents of all the iterators, also in sorted
   order.  For example::
@@ -136,7 +141,7 @@
 
   (Contributed by Raymond Hettinger.)
 
-* New function in the :mod:`itertools` module: ``izip_longest(iter1, iter2,
+* A new function in the :mod:`itertools` module: ``izip_longest(iter1, iter2,
   ...[, fillvalue])`` makes tuples from each of the elements; if some of the
   iterables are shorter than others, the missing values  are set to *fillvalue*.
   For example::


More information about the Python-checkins mailing list