]> granicus.if.org Git - python/commitdiff
Remove versionadded/changed directives merged as an oversight.
authorGeorg Brandl <georg@python.org>
Sat, 5 Jan 2008 20:11:13 +0000 (20:11 +0000)
committerGeorg Brandl <georg@python.org>
Sat, 5 Jan 2008 20:11:13 +0000 (20:11 +0000)
Doc/c-api/utilities.rst
Doc/library/collections.rst
Doc/library/difflib.rst
Doc/library/functions.rst
Doc/library/math.rst
Doc/library/msvcrt.rst
Doc/library/stdtypes.rst
Doc/library/sys.rst

index b9eb390bda56992038e0f199a0bf8ff02d3f63a2..c4c4b7ebb2daa22e9b3c04c7f1636ee1b58a11bd 100644 (file)
@@ -197,9 +197,6 @@ Importing Modules
    to find out.  Starting with Python 2.4, a failing import of a module no longer
    leaves the module in ``sys.modules``.
 
-   .. versionchanged:: 2.6
-      always use absolute imports
-
    .. index:: single: modules (in module sys)
 
 
@@ -216,8 +213,6 @@ Importing Modules
    unless the the lock is hold. In the latter case the function raises an
    ImportError.
 
-   .. versionadded:: 2.6
-
 
 .. cfunction:: PyObject* PyImport_ImportModuleEx(char *name, PyObject *globals, PyObject *locals, PyObject *fromlist)
 
@@ -236,9 +231,8 @@ Importing Modules
    Failing imports remove incomplete module objects, like with
    :cfunc:`PyImport_ImportModule`.
 
-   .. versionchanged:: 2.6
-      The function is an alias for `cfunc:PyImport_ImportModuleLevel` with
-      -1 as level, meaning relative import.
+   The function is an alias for `cfunc:PyImport_ImportModuleLevel` with -1 as
+   *level*, meaning relative import.
 
 
 .. cfunction:: PyObject* PyImport_ImportModuleLevel(char *name, PyObject *globals, PyObject *locals, PyObject *fromlist, int level)
@@ -252,18 +246,14 @@ Importing Modules
    the return value when a submodule of a package was requested is normally the
    top-level package, unless a non-empty *fromlist* was given.
 
-   ..versionadded:: 2.5
-
 
 .. cfunction:: PyObject* PyImport_Import(PyObject *name)
 
-   This is a higher-level interface that calls the current "import hook function".
-   It invokes the :func:`__import__` function from the ``__builtins__`` of the
-   current globals.  This means that the import is done using whatever import hooks
-   are installed in the current environment.
-
-   .. versionchanged:: 2.6
-      always use absolute imports
+   This is a higher-level interface that calls the current "import hook
+   function" (with an explicit *level* of 0, meaning absolute import).  It
+   invokes the :func:`__import__` function from the ``__builtins__`` of the
+   current globals.  This means that the import is done using whatever import
+   hooks are installed in the current environment.
 
 
 .. cfunction:: PyObject* PyImport_ReloadModule(PyObject *m)
@@ -1096,16 +1086,12 @@ The following functions provide locale-independent string to number conversions.
    Case insensitive comparsion of strings. The functions works almost
    identical to :cfunc:`strcmp` except that it ignores the case.
 
-   .. versionadded:: 2.6
-
 
 .. cfunction:: char * PyOS_strnicmp(char *s1, char *s2, Py_ssize_t  size)
 
    Case insensitive comparsion of strings. The functions works almost
    identical to :cfunc:`strncmp` except that it ignores the case.
 
-   .. versionadded:: 2.6
-
 
 .. _reflection:
 
index b1c2f99d23b03360c4aae624480b7d9d27dd0b8b..b650462e846ba4dc2f4b54e6375563290dd30171 100644 (file)
@@ -99,8 +99,6 @@ particular functionality, for example::
    Unix. They are also useful for tracking transactions and other pools of data
    where only the most recent activity is of interest.
 
-   .. versionchanged:: 2.6
-      Added *maxlen* parameter.
 
 Deque objects support the following methods:
 
index 3b17d047a08de1896fe448e53777a84f115ebbfa..34dbcfd4453700f576d58ff420ceed1d6c3b6f51 100644 (file)
@@ -380,10 +380,6 @@ use :meth:`set_seq2` to set the commonly used sequence once and call
 
    .. XXX Explain why a dummy is used!
 
-   .. versionchanged:: 2.5
-      The guarantee that adjacent triples always describe non-adjacent blocks was
-      implemented.
-
    ::
 
       >>> s = SequenceMatcher(None, "abxcd", "abcd")
index 48efff551ac913cd6dc39b6451e541247530f3f0..ebb7a6cf9eb78ab1547c8604bd64b3a315739372 100644 (file)
@@ -921,8 +921,6 @@ available.  They are listed here in alphabetical order.
    ``round(0.5)`` and ``round(-0.5)`` are ``0``, and ``round(1.5)`` is
    ``2``). Delegates to ``x.__round__(n)``.
 
-   .. versionchanged:: 2.6
-
 
 .. function:: set([iterable])
    :noindex:
@@ -1072,8 +1070,6 @@ available.  They are listed here in alphabetical order.
    Return the :class:`Real` value *x* truncated to an :class:`Integral` (usually
    a long integer). Delegates to ``x.__trunc__()``.
 
-   .. versionadded:: 2.6
-
 
 .. function:: tuple([iterable])
 
index dc8c74a1e76684cf0ec149a2710e624e9c1a4b2e..958d60b59607b92d41d73fb430025a95ff76384c 100644 (file)
@@ -36,8 +36,6 @@ Number-theoretic and representation functions:
    Return *x* with the sign of *y*. ``copysign`` copies the sign bit of an IEEE
    754 float, ``copysign(1, -0.0)`` returns *-1.0*.
 
-   ..versionadded:: 2.6
-
 
 .. function:: fabs(x)
 
@@ -78,8 +76,6 @@ Number-theoretic and representation functions:
 
    Checks if the float *x* is positive or negative infinite.
 
-   ..versionadded:: 2.6
-
 
 .. function:: isnan(x)
 
@@ -88,8 +84,6 @@ Number-theoretic and representation functions:
    ``inf / inf`` or any operation involving a NaN, e.g. ``nan * 1``, return
    a NaN.
 
-   ..versionadded:: 2.6
-
 
 .. function:: ldexp(x, i)
 
index a30578829400b75d329b3b778bd07b94c6018aae..678ba7a0a6ca78119c2b5a4ac7f3b8f5328b13cf 100644 (file)
@@ -103,8 +103,6 @@ Console I/O
 
    Wide char variant of :func:`getch`, returning a Unicode value.
    
-   .. versionadded:: 2.6
-   
 
 .. function:: getche()
 
@@ -116,8 +114,6 @@ Console I/O
 
    Wide char variant of :func:`getche`, returning a Unicode value.
    
-   .. versionadded:: 2.6
-
 
 .. function:: putch(char)
 
@@ -128,8 +124,6 @@ Console I/O
 
    Wide char variant of :func:`putch`, accepting a Unicode value.
    
-   .. versionadded:: 2.6
-   
 
 .. function:: ungetch(char)
 
@@ -141,8 +135,6 @@ Console I/O
 
    Wide char variant of :func:`ungetch`, accepting a Unicode value.
    
-   .. versionadded:: 2.6
-
 
 .. _msvcrt-other:
 
index 9763cba7386e006379dd70fbc7507cc8c446f5f3..554cbc5a8553f56da59fb787a635f0fe0527b121 100644 (file)
@@ -351,8 +351,6 @@ Notes:
    float also accepts the strings "nan" and "inf" with an optional prefix "+" 
    or "-" for Not a Number (NaN) and positive or negative infinity.
    
-   .. versionadded:: 2.6
-
 
 .. XXXJH exceptions: overflow (when? what operations?) zerodivision
 
@@ -2017,9 +2015,6 @@ Files have the following methods:
 
    Note that not all file objects are seekable.
 
-   .. versionchanged:: 2.6
-      Passing float values as offset has been deprecated.
-
 
 .. method:: file.tell()
 
index 02059379907b0cd1269e338610fa503c35a38f77..4182a0ba52f8510784399a5c857f6590426658bf 100644 (file)
@@ -371,8 +371,6 @@ always available.
    take.  It's usually ``2**31 - 1`` on a 32-bit platform and ``2**63 - 1`` on a
    64-bit platform.
 
-   .. versionadded:: 3.0
-
 
 .. data:: maxunicode