[Python-3000-checkins] r59286 - python/branches/py3k/Doc/library/csv.rst python/branches/py3k/Doc/library/decimal.rst python/branches/py3k/Doc/library/exceptions.rst python/branches/py3k/Doc/library/readline.rst python/branches/py3k/Doc/library/socket.rst python/branches/py3k/Doc/library/stdtypes.rst

georg.brandl python-3000-checkins at python.org
Mon Dec 3 00:15:43 CET 2007


Author: georg.brandl
Date: Mon Dec  3 00:15:43 2007
New Revision: 59286

Modified:
   python/branches/py3k/Doc/library/csv.rst
   python/branches/py3k/Doc/library/decimal.rst
   python/branches/py3k/Doc/library/exceptions.rst
   python/branches/py3k/Doc/library/readline.rst
   python/branches/py3k/Doc/library/socket.rst
   python/branches/py3k/Doc/library/stdtypes.rst
Log:
Remove a few merged versionadded/changed.


Modified: python/branches/py3k/Doc/library/csv.rst
==============================================================================
--- python/branches/py3k/Doc/library/csv.rst	(original)
+++ python/branches/py3k/Doc/library/csv.rst	Mon Dec  3 00:15:43 2007
@@ -121,13 +121,9 @@
 
 .. function:: get_dialect(name)
 
-   Return the dialect associated with *name*.  An :exc:`Error` is raised if *name*
-   is not a registered dialect name.
-
-   .. versionchanged:: 2.5
-      This function now returns an immutable :class:`Dialect`.  Previously an
-      instance of the requested dialect was returned.  Users could modify the
-      underlying class, changing the behavior of active readers and writers.
+   Return the dialect associated with *name*.  An :exc:`Error` is raised if
+   *name* is not a registered dialect name.  This function returns an immutable
+   :class:`Dialect`.
 
 .. function:: list_dialects()
 

Modified: python/branches/py3k/Doc/library/decimal.rst
==============================================================================
--- python/branches/py3k/Doc/library/decimal.rst	(original)
+++ python/branches/py3k/Doc/library/decimal.rst	Mon Dec  3 00:15:43 2007
@@ -337,7 +337,6 @@
    encoding of a :class:`Decimal` instance is always canonical, so
    this operation returns its argument unchanged.
 
-   .. versionadded:: 2.6
 
 .. method:: Decimal.compare(other[, context])
 
@@ -359,7 +358,6 @@
    NaN then any quiet NaN operand is treated as though it were a
    signaling NaN.
 
-   .. versionadded:: 2.6
 
 .. method:: Decimal.compare_total(other)
 
@@ -381,7 +379,6 @@
    than the second operand.  See the specification for details of the
    total order.
 
-   .. versionadded:: 2.6
 
 .. method:: Decimal.compare_total_mag(other)
 
@@ -390,7 +387,6 @@
    of each operand.  ``x.compare_total_mag(y)`` is equivalent to
    ``x.copy_abs().compare_total(y.copy_abs())``.
 
-   .. versionadded:: 2.6
 
 .. method:: Decimal.copy_abs()
 
@@ -398,7 +394,6 @@
    unaffected by the context and is quiet: no flags are changed and no
    rounding is performed.
 
-   .. versionadded:: 2.6
 
 .. method:: Decimal.copy_negate()
 
@@ -406,7 +401,6 @@
    by the context and is quiet: no flags are changed and no rounding
    is performed.
 
-   .. versionadded:: 2.6
 
 .. method:: Decimal.copy_sign(other)
 
@@ -419,7 +413,6 @@
    This operation is unaffected by the context and is quiet: no flags
    are changed and no rounding is performed.
 
-   .. versionadded:: 2.6
 
 .. method:: Decimal.exp([context])
 
@@ -432,7 +425,6 @@
    >>> Decimal(321).exp()
    Decimal("2.561702493119680037517373933E+139")
 
-   .. versionadded:: 2.6
 
 .. method:: Decimal.fma(other, third[, context])
 
@@ -442,7 +434,6 @@
    >>> Decimal(2).fma(3, 5)
    Decimal("11")
 
-   .. versionadded:: 2.6
 
 .. method:: Decimal.is_canonical()
 
@@ -451,28 +442,24 @@
    is always canonical, so this operation always returns
    :const:`True`.
 
-   .. versionadded:: 2.6
 
 .. method:: is_finite()
 
    Return :const:`True` if the argument is a finite number, and
    :const:`False` if the argument is an infinity or a NaN.
 
-   .. versionadded:: 2.6
 
 .. method:: is_infinite()
 
    Return :const:`True` if the argument is either positive or
    negative infinity and :const:`False` otherwise.
 
-   .. versionadded:: 2.6
 
 .. method:: is_nan()
 
    Return :const:`True` if the argument is a (quiet or signaling)
    NaN and :const:`False` otherwise.
 
-   .. versionadded:: 2.6
 
 .. method:: is_normal()
 
@@ -480,14 +467,12 @@
    Return :const:`False` if the argument is zero, subnormal, infinite
    or a NaN.
 
-   .. versionadded:: 2.6
 
 .. method:: is_qnan()
 
    Return :const:`True` if the argument is a quiet NaN, and
    :const:`False` otherwise.
 
-   .. versionadded:: 2.6
 
 .. method:: is_signed()
 
@@ -495,28 +480,24 @@
    :const:`False` otherwise.  Note that zeros and NaNs can both carry
    signs.
 
-   .. versionadded:: 2.6
 
 .. method:: is_snan()
 
    Return :const:`True` if the argument is a signaling NaN and
    :const:`False` otherwise.
 
-   .. versionadded:: 2.6
 
 .. method:: is_subnormal()
 
    Return :const:`True` if the argument is subnormal, and
    :const:`False` otherwise.
 
-   .. versionadded:: 2.6
 
 .. method:: is_zero()
 
    Return :const:`True` if the argument is a (positive or negative)
    zero and :const:`False` otherwise.
 
-   .. versionadded:: 2.6
 
 .. method:: Decimal.ln([context])
 
@@ -524,14 +505,12 @@
    is correctly rounded using the :const:`ROUND_HALF_EVEN` rounding
    mode.
 
-   .. versionadded:: 2.6
 
 .. method:: Decimal.log10([context])
 
    Return the base ten logarithm of the operand.  The result is
    correctly rounded using the :const:`ROUND_HALF_EVEN` rounding mode.
 
-   .. versionadded:: 2.6
 
 .. method:  Decimal.logb([context])
 
@@ -541,7 +520,6 @@
    :const:`DivisionByZero` flag is raised.  If the operand is an
    infinity then ``Decimal("Infinity")`` is returned.
 
-   .. versionadded:: 2.6
 
 .. method:: Decimal.logical_and(other[, context])
 
@@ -549,7 +527,6 @@
    *logical operands* (see :ref:`logical_operands_label`).  The result
    is the digit-wise ``and`` of the two operands.
 
-   .. versionadded:: 2.6
 
 .. method:: Decimal.logical_invert(other[, context])
 
@@ -557,7 +534,6 @@
    be a *logical operand* (see :ref:`logical_operands_label`).  The
    result is the digit-wise inversion of the operand.
 
-   .. versionadded:: 2.6
 
 .. method:: Decimal.logical_or(other[, context])
 
@@ -565,7 +541,6 @@
    operands* (see :ref:`logical_operands_label`).  The result is the
    digit-wise ``or`` of the two operands.
 
-   .. versionadded:: 2.6
 
 .. method:: Decimal.logical_xor(other[, context])
 
@@ -573,7 +548,6 @@
    *logical operands* (see :ref:`logical_operands_label`).  The result
    is the digit-wise exclusive or of the two operands.
 
-   .. versionadded:: 2.6
 
 .. method:: Decimal.max(other[, context])
 
@@ -581,12 +555,12 @@
    before returning and that :const:`NaN` values are either signaled or ignored
    (depending on the context and whether they are signaling or quiet).
 
+
 .. method:: Decimal.max_mag(other[, context])
 
    Similar to the :meth:`max` method, but the comparison is done using
    the absolute values of the operands.
 
-   .. versionadded:: 2.6
 
 .. method:: Decimal.min(other[, context])
 
@@ -599,7 +573,6 @@
    Similar to the :meth:`min` method, but the comparison is done using
    the absolute values of the operands.
 
-   .. versionadded:: 2.6
 
 .. method:: Decimal.next_minus([context])
 
@@ -607,7 +580,6 @@
    in the current thread's context if no context is given) that is smaller
    than the given operand.
 
-   .. versionadded:: 2.6
 
 .. method:: Decimal.next_plus([context])
 
@@ -615,7 +587,6 @@
    in the current thread's context if no context is given) that is
    larger than the given operand.
 
-   .. versionadded:: 2.6
 
 .. method:: Decimal.next_toward(other[, context])
 
@@ -624,7 +595,6 @@
    operands are numerically equal, return a copy of the first operand
    with the sign set to be the same as the sign of the second operand.
 
-   .. versionadded:: 2.6
 
 .. method:: Decimal.normalize([context])
 
@@ -634,6 +604,7 @@
    ``Decimal("32.100")`` and ``Decimal("0.321000e+2")`` both normalize to the
    equivalent value ``Decimal("32.1")``.
 
+
 .. method:: Decimal.number_class([context])
 
    Return a string describing the *class* of the operand.  The
@@ -650,7 +621,6 @@
    * ``"NaN"``, indicating that the operand is a quiet NaN (Not a Number).
    * ``"sNaN"``, indicating that the operand is a signaling NaN.
 
-   .. versionadded:: 2.6
 
 .. method:: Decimal.quantize(exp[, rounding[, context[, watchexp]]])
 
@@ -684,7 +654,6 @@
    :class:`Decimal` class does all its arithmetic.  Included for
    compatibility with the specification.
 
-   .. versionadded:: 2.6
 
 .. method:: Decimal.remainder_near(other[, context])
 
@@ -706,7 +675,6 @@
    if necessary.  The sign and exponent of the first operand are
    unchanged.
 
-   .. versionadded:: 2.6
 
 .. method:: Decimal.same_quantum(other[, context])
 
@@ -719,7 +687,6 @@
    Equivalently, return the first operand multiplied by ``10**other``.
    The second operand must be an integer.
 
-   .. versionadded:: 2.6
 
 .. method:: Decimal.shift(other[, context])
 
@@ -732,7 +699,6 @@
    coefficient are zeros.  The sign and exponent of the first operand
    are unchanged.
 
-   .. versionadded:: 2.6
 
 .. method:: Decimal.sqrt([context])
 
@@ -761,7 +727,6 @@
    parameter is given then the rounding mode of the current context is
    used.
 
-   .. versionadded:: 2.6
 
 .. method:: Decimal.to_integral_value([rounding[, context]])
 
@@ -769,9 +734,6 @@
    :const:`Rounded`.  If given, applies *rounding*; otherwise, uses the rounding
    method in either the supplied *context* or the current context.
 
-   .. versionchanged:: 2.6
-      renamed from ``to_integral`` to ``to_integral_value``.  The old name
-      remains valid for compatibility.
 
 .. method:: Decimal.trim()
 
@@ -781,7 +743,6 @@
    is, the last element of the :meth:`as_tuple` representation) is
    positive.
 
-   .. versionadded:: 2.6
 
 .. _logical_operands_label:
 
@@ -921,8 +882,6 @@
    :const:`1`, exponents are printed with a capital :const:`E`; otherwise, a
    lowercase :const:`e` is used: :const:`Decimal('6.02e+23')`.
 
-   .. versionchanged:: 2.6
-      The :const:`ROUND_05UP` rounding mode was added.
 
 The :class:`Context` class defines several general purpose methods as
 well as a large number of methods for doing arithmetic directly in a
@@ -1048,10 +1007,6 @@
    modulo`` with unbounded precision, but is computed more
    efficiently.  It is always exact.
 
-   .. versionchanged:: 2.6 
-      ``y`` may now be nonintegral in ``x**y``.
-      Stricter requirements for the three-argument version.
-
 
 .. method:: Context.remainder(x, y)
 

Modified: python/branches/py3k/Doc/library/exceptions.rst
==============================================================================
--- python/branches/py3k/Doc/library/exceptions.rst	(original)
+++ python/branches/py3k/Doc/library/exceptions.rst	Mon Dec  3 00:15:43 2007
@@ -147,9 +147,6 @@
    This class is derived from :exc:`EnvironmentError`.  See the discussion above
    for more information on exception instance attributes.
 
-   .. versionchanged:: 2.6
-      Changed :exc:`socket.error` to use this as a base class.
-
 
 .. exception:: ImportError
 

Modified: python/branches/py3k/Doc/library/readline.rst
==============================================================================
--- python/branches/py3k/Doc/library/readline.rst	(original)
+++ python/branches/py3k/Doc/library/readline.rst	Mon Dec  3 00:15:43 2007
@@ -132,7 +132,6 @@
 
    Get the type of completion being attempted.
 
-   .. versionadded:: 2.6
 
 .. function:: get_begidx()
 
@@ -153,6 +152,7 @@
 
    Get the readline word delimiters for tab-completion.
 
+
 .. function:: set_completion_display_matches_hook([function])
 
    Set or remove the completion display function.  If *function* is
@@ -162,7 +162,6 @@
    ``function(substitution, [matches], longest_match_length)`` once
    each time matches need to be displayed.
 
-   .. versionadded:: 2.6
 
 .. function:: add_history(line)
 

Modified: python/branches/py3k/Doc/library/socket.rst
==============================================================================
--- python/branches/py3k/Doc/library/socket.rst	(original)
+++ python/branches/py3k/Doc/library/socket.rst	Mon Dec  3 00:15:43 2007
@@ -85,9 +85,6 @@
    accompanying :exc:`os.error`. See the module :mod:`errno`, which contains names
    for the error codes defined by the underlying operating system.
 
-   .. versionchanged:: 2.6
-      :exc:`socket.error` is now a child class of :exc:`IOError`.
-
 
 .. exception:: herror
 

Modified: python/branches/py3k/Doc/library/stdtypes.rst
==============================================================================
--- python/branches/py3k/Doc/library/stdtypes.rst	(original)
+++ python/branches/py3k/Doc/library/stdtypes.rst	Mon Dec  3 00:15:43 2007
@@ -1438,8 +1438,6 @@
    Return True if the set has no elements in common with *other*.
    Sets are disjoint if and only if their interesection is the empty set.
 
-   .. versionadded:: 2.6
-
 .. method:: set.issubset(other)
             set <= other
 


More information about the Python-3000-checkins mailing list