[Python-3000-checkins] r59748 - in python/branches/py3k/Doc: c-api/utilities.rst library/collections.rst library/difflib.rst library/functions.rst library/math.rst library/msvcrt.rst library/stdtypes.rst library/sys.rst
georg.brandl
python-3000-checkins at python.org
Sat Jan 5 21:11:14 CET 2008
Author: georg.brandl
Date: Sat Jan 5 21:11:13 2008
New Revision: 59748
Modified:
python/branches/py3k/Doc/c-api/utilities.rst
python/branches/py3k/Doc/library/collections.rst
python/branches/py3k/Doc/library/difflib.rst
python/branches/py3k/Doc/library/functions.rst
python/branches/py3k/Doc/library/math.rst
python/branches/py3k/Doc/library/msvcrt.rst
python/branches/py3k/Doc/library/stdtypes.rst
python/branches/py3k/Doc/library/sys.rst
Log:
Remove versionadded/changed directives merged as an oversight.
Modified: python/branches/py3k/Doc/c-api/utilities.rst
==============================================================================
--- python/branches/py3k/Doc/c-api/utilities.rst (original)
+++ python/branches/py3k/Doc/c-api/utilities.rst Sat Jan 5 21:11:13 2008
@@ -197,9 +197,6 @@
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 @@
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 @@
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 @@
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 @@
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:
Modified: python/branches/py3k/Doc/library/collections.rst
==============================================================================
--- python/branches/py3k/Doc/library/collections.rst (original)
+++ python/branches/py3k/Doc/library/collections.rst Sat Jan 5 21:11:13 2008
@@ -99,8 +99,6 @@
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:
Modified: python/branches/py3k/Doc/library/difflib.rst
==============================================================================
--- python/branches/py3k/Doc/library/difflib.rst (original)
+++ python/branches/py3k/Doc/library/difflib.rst Sat Jan 5 21:11:13 2008
@@ -380,10 +380,6 @@
.. 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")
Modified: python/branches/py3k/Doc/library/functions.rst
==============================================================================
--- python/branches/py3k/Doc/library/functions.rst (original)
+++ python/branches/py3k/Doc/library/functions.rst Sat Jan 5 21:11:13 2008
@@ -921,8 +921,6 @@
``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 @@
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])
Modified: python/branches/py3k/Doc/library/math.rst
==============================================================================
--- python/branches/py3k/Doc/library/math.rst (original)
+++ python/branches/py3k/Doc/library/math.rst Sat Jan 5 21:11:13 2008
@@ -36,8 +36,6 @@
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 @@
Checks if the float *x* is positive or negative infinite.
- ..versionadded:: 2.6
-
.. function:: isnan(x)
@@ -88,8 +84,6 @@
``inf / inf`` or any operation involving a NaN, e.g. ``nan * 1``, return
a NaN.
- ..versionadded:: 2.6
-
.. function:: ldexp(x, i)
Modified: python/branches/py3k/Doc/library/msvcrt.rst
==============================================================================
--- python/branches/py3k/Doc/library/msvcrt.rst (original)
+++ python/branches/py3k/Doc/library/msvcrt.rst Sat Jan 5 21:11:13 2008
@@ -103,8 +103,6 @@
Wide char variant of :func:`getch`, returning a Unicode value.
- .. versionadded:: 2.6
-
.. function:: getche()
@@ -116,8 +114,6 @@
Wide char variant of :func:`getche`, returning a Unicode value.
- .. versionadded:: 2.6
-
.. function:: putch(char)
@@ -128,8 +124,6 @@
Wide char variant of :func:`putch`, accepting a Unicode value.
- .. versionadded:: 2.6
-
.. function:: ungetch(char)
@@ -141,8 +135,6 @@
Wide char variant of :func:`ungetch`, accepting a Unicode value.
- .. versionadded:: 2.6
-
.. _msvcrt-other:
Modified: python/branches/py3k/Doc/library/stdtypes.rst
==============================================================================
--- python/branches/py3k/Doc/library/stdtypes.rst (original)
+++ python/branches/py3k/Doc/library/stdtypes.rst Sat Jan 5 21:11:13 2008
@@ -351,8 +351,6 @@
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 @@
Note that not all file objects are seekable.
- .. versionchanged:: 2.6
- Passing float values as offset has been deprecated.
-
.. method:: file.tell()
Modified: python/branches/py3k/Doc/library/sys.rst
==============================================================================
--- python/branches/py3k/Doc/library/sys.rst (original)
+++ python/branches/py3k/Doc/library/sys.rst Sat Jan 5 21:11:13 2008
@@ -371,8 +371,6 @@
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
More information about the Python-3000-checkins
mailing list