Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
35e8c465
Commit
35e8c465
authored
Apr 24, 2008
by
Benjamin Peterson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove some old versionchanged and versionadded directives
parent
3513358e
Changes
30
Show whitespace changes
Inline
Side-by-side
Showing
30 changed files
with
8 additions
and
147 deletions
+8
-147
Doc/library/_winreg.rst
Doc/library/_winreg.rst
+0
-3
Doc/library/basehttpserver.rst
Doc/library/basehttpserver.rst
+0
-3
Doc/library/cmath.rst
Doc/library/cmath.rst
+0
-19
Doc/library/ctypes.rst
Doc/library/ctypes.rst
+5
-8
Doc/library/datetime.rst
Doc/library/datetime.rst
+0
-2
Doc/library/decimal.rst
Doc/library/decimal.rst
+0
-6
Doc/library/difflib.rst
Doc/library/difflib.rst
+1
-2
Doc/library/doctest.rst
Doc/library/doctest.rst
+0
-3
Doc/library/fractions.rst
Doc/library/fractions.rst
+0
-1
Doc/library/functions.rst
Doc/library/functions.rst
+0
-3
Doc/library/heapq.rst
Doc/library/heapq.rst
+1
-1
Doc/library/itertools.rst
Doc/library/itertools.rst
+0
-8
Doc/library/logging.rst
Doc/library/logging.rst
+0
-6
Doc/library/math.rst
Doc/library/math.rst
+0
-12
Doc/library/operator.rst
Doc/library/operator.rst
+0
-1
Doc/library/pickletools.rst
Doc/library/pickletools.rst
+0
-1
Doc/library/plistlib.rst
Doc/library/plistlib.rst
+0
-4
Doc/library/pprint.rst
Doc/library/pprint.rst
+0
-3
Doc/library/py_compile.rst
Doc/library/py_compile.rst
+0
-4
Doc/library/pyexpat.rst
Doc/library/pyexpat.rst
+0
-3
Doc/library/queue.rst
Doc/library/queue.rst
+0
-4
Doc/library/random.rst
Doc/library/random.rst
+1
-2
Doc/library/sched.rst
Doc/library/sched.rst
+0
-2
Doc/library/select.rst
Doc/library/select.rst
+0
-8
Doc/library/shutil.rst
Doc/library/shutil.rst
+0
-4
Doc/library/signal.rst
Doc/library/signal.rst
+0
-6
Doc/library/sqlite3.rst
Doc/library/sqlite3.rst
+0
-6
Doc/library/subprocess.rst
Doc/library/subprocess.rst
+0
-6
Doc/library/sys.rst
Doc/library/sys.rst
+0
-12
Doc/library/zipfile.rst
Doc/library/zipfile.rst
+0
-4
No files found.
Doc/library/_winreg.rst
View file @
35e8c465
...
@@ -138,8 +138,6 @@ This module offers the following functions:
...
@@ -138,8 +138,6 @@ This module offers the following functions:
>>> ExpandEnvironmentStrings(u"%windir%")
>>> ExpandEnvironmentStrings(u"%windir%")
u"C:\\Windows"
u"C:\\Windows"
.. versionadded:: 2.6
.. function:: FlushKey(key)
.. function:: FlushKey(key)
...
@@ -437,5 +435,4 @@ handle, and also disconnect the Windows handle from the handle object.
...
@@ -437,5 +435,4 @@ handle, and also disconnect the Windows handle from the handle object.
will automatically close *key* when control leaves the :keyword:`with` block.
will automatically close *key* when control leaves the :keyword:`with` block.
.. versionadded:: 2.6
Doc/library/basehttpserver.rst
View file @
35e8c465
...
@@ -127,9 +127,6 @@ to a handler. Code to create and run the server looks like this::
...
@@ -127,9 +127,6 @@ to a handler. Code to create and run the server looks like this::
Specifies the Content-Type HTTP header of error responses sent to the client.
Specifies the Content-Type HTTP header of error responses sent to the client.
The default value is ``'text/html'``.
The default value is ``'text/html'``.
.. versionadded:: 2.6
Previously, the content type was always ``'text/html'``.
.. attribute:: BaseHTTPRequestHandler.protocol_version
.. attribute:: BaseHTTPRequestHandler.protocol_version
...
...
Doc/library/cmath.rst
View file @
35e8c465
...
@@ -65,8 +65,6 @@ Definition::
...
@@ -65,8 +65,6 @@ Definition::
Return phase, also known as the argument, of a complex.
Return phase, also known as the argument, of a complex.
.. versionadded:: 2.6
.. function:: polar(x)
.. function:: polar(x)
...
@@ -75,16 +73,12 @@ Definition::
...
@@ -75,16 +73,12 @@ Definition::
*r* and *phi*. *r* is the distance from 0 and *phi* the phase
*r* and *phi*. *r* is the distance from 0 and *phi* the phase
angle.
angle.
.. versionadded:: 2.6
.. function:: rect(r, phi)
.. function:: rect(r, phi)
Convert from polar coordinates to rectangular coordinates and return
Convert from polar coordinates to rectangular coordinates and return
a :class:`complex`.
a :class:`complex`.
.. versionadded:: 2.6
cmath functions
cmath functions
...
@@ -115,9 +109,6 @@ cmath functions
...
@@ -115,9 +109,6 @@ cmath functions
continuous from the right. The other extends from ``-1j`` along
continuous from the right. The other extends from ``-1j`` along
the imaginary axis to ``-∞j``, continuous from the left.
the imaginary axis to ``-∞j``, continuous from the left.
.. versionchanged:: 2.6
branch cuts moved to match those recommended by the C99 standard
.. function:: atan(x)
.. function:: atan(x)
...
@@ -126,9 +117,6 @@ cmath functions
...
@@ -126,9 +117,6 @@ cmath functions
other extends from ``-1j`` along the imaginary axis to ``-∞j``, continuous
other extends from ``-1j`` along the imaginary axis to ``-∞j``, continuous
from the left.
from the left.
.. versionchanged:: 2.6
direction of continuity of upper cut reversed
.. function:: atanh(x)
.. function:: atanh(x)
...
@@ -137,9 +125,6 @@ cmath functions
...
@@ -137,9 +125,6 @@ cmath functions
other extends from ``-1`` along the real axis to ``-∞``, continuous from
other extends from ``-1`` along the real axis to ``-∞``, continuous from
above.
above.
.. versionchanged:: 2.6
direction of continuity of right cut reversed
.. function:: cos(x)
.. function:: cos(x)
...
@@ -161,15 +146,11 @@ cmath functions
...
@@ -161,15 +146,11 @@ cmath functions
Return *True* if the real or the imaginary part of x is positive
Return *True* if the real or the imaginary part of x is positive
or negative infinity.
or negative infinity.
.. versionadded:: 2.6
.. function:: isnan(x)
.. function:: isnan(x)
Return *True* if the real or imaginary part of x is not a number (NaN).
Return *True* if the real or imaginary part of x is not a number (NaN).
.. versionadded:: 2.6
.. function:: log(x[, base])
.. function:: log(x[, base])
...
...
Doc/library/ctypes.rst
View file @
35e8c465
...
@@ -2004,14 +2004,11 @@ Fundamental data types
...
@@ -2004,14 +2004,11 @@ Fundamental data types
.. class:: _SimpleCData
.. class:: _SimpleCData
This non-public class is the base class of all fundamental ctypes data types. It
This non-public class is the base class of all fundamental ctypes data
is mentioned here because it contains the common attributes of the fundamental
types. It is mentioned here because it contains the common attributes of the
ctypes data types. ``_SimpleCData`` is a subclass of ``_CData``, so it inherits
fundamental ctypes data types. ``_SimpleCData`` is a subclass of ``_CData``,
their methods and attributes.
so it inherits their methods and attributes. ctypes data types that are not
and do not contain pointers can now be pickled.
.. versionchanged:: 2.6
ctypes data types that are not and do not contain pointers can
now be pickled.
Instances have a single attribute:
Instances have a single attribute:
...
...
Doc/library/datetime.rst
View file @
35e8c465
...
@@ -1498,8 +1498,6 @@ values. If they're used anyway, ``0`` is substituted for them.
...
@@ -1498,8 +1498,6 @@ values. If they're used anyway, ``0`` is substituted for them.
which expands to the number of microseconds in the object, zero-padded on
which expands to the number of microseconds in the object, zero-padded on
the left to six places.
the left to six places.
.. versionadded:: 2.6
For a naive object, the ``%z`` and ``%Z`` format codes are replaced by empty
For a naive object, the ``%z`` and ``%Z`` format codes are replaced by empty
strings.
strings.
...
...
Doc/library/decimal.rst
View file @
35e8c465
...
@@ -340,9 +340,6 @@ Decimal objects
...
@@ -340,9 +340,6 @@ Decimal objects
Once constructed, :class:`Decimal` objects are immutable.
Once constructed, :class:`Decimal` objects are immutable.
.. versionchanged:: 2.6
leading and trailing whitespace characters are permitted when
creating a Decimal instance from a string.
Decimal floating point objects share many properties with the other built-in
Decimal floating point objects share many properties with the other built-in
numeric types such as :class:`float` and :class:`int`. All of the usual math
numeric types such as :class:`float` and :class:`int`. All of the usual math
...
@@ -367,9 +364,6 @@ also have a number of specialized methods:
...
@@ -367,9 +364,6 @@ also have a number of specialized methods:
Return a :term:`named tuple` representation of the number:
Return a :term:`named tuple` representation of the number:
``DecimalTuple(sign, digits, exponent)``.
``DecimalTuple(sign, digits, exponent)``.
.. versionchanged:: 2.6
Use a named tuple.
.. method:: Decimal.canonical()
.. method:: Decimal.canonical()
...
...
Doc/library/difflib.rst
View file @
35e8c465
...
@@ -401,7 +401,6 @@ use :meth:`set_seq2` to set the commonly used sequence once and call
...
@@ -401,7 +401,6 @@ use :meth:`set_seq2` to set the commonly used sequence once and call
If no blocks match, this returns ``(alo, blo, 0)``.
If no blocks match, this returns ``(alo, blo, 0)``.
.. versionchanged:: 2.6
This method returns a :term:`named tuple` ``Match(a, b, size)``.
This method returns a :term:`named tuple` ``Match(a, b, size)``.
...
...
Doc/library/doctest.rst
View file @
35e8c465
...
@@ -1441,9 +1441,6 @@ DocTestRunner objects
...
@@ -1441,9 +1441,6 @@ DocTestRunner objects
The optional *verbose* argument controls how detailed the summary is. If the
The optional *verbose* argument controls how detailed the summary is. If the
verbosity is not specified, then the :class:`DocTestRunner`'s verbosity is used.
verbosity is not specified, then the :class:`DocTestRunner`'s verbosity is used.
.. versionchanged:: 2.6
Use a named tuple.
.. _doctest-outputchecker:
.. _doctest-outputchecker:
...
...
Doc/library/fractions.rst
View file @
35e8c465
...
@@ -6,7 +6,6 @@
...
@@ -6,7 +6,6 @@
:synopsis: Rational numbers.
:synopsis: Rational numbers.
.. moduleauthor:: Jeffrey Yasskin <jyasskin at gmail.com>
.. moduleauthor:: Jeffrey Yasskin <jyasskin at gmail.com>
.. sectionauthor:: Jeffrey Yasskin <jyasskin at gmail.com>
.. sectionauthor:: Jeffrey Yasskin <jyasskin at gmail.com>
.. versionadded:: 2.6
The :mod:`fractions` module defines an immutable, infinite-precision
The :mod:`fractions` module defines an immutable, infinite-precision
...
...
Doc/library/functions.rst
View file @
35e8c465
...
@@ -227,9 +227,6 @@ available. They are listed here in alphabetical order.
...
@@ -227,9 +227,6 @@ available. They are listed here in alphabetical order.
This function raises :exc:`SyntaxError` if the compiled source is invalid,
This function raises :exc:`SyntaxError` if the compiled source is invalid,
and :exc:`TypeError` if the source contains null bytes.
and :exc:`TypeError` if the source contains null bytes.
.. versionadded:: 2.6
Support for compiling AST objects.
.. function:: complex([real[, imag]])
.. function:: complex([real[, imag]])
...
...
Doc/library/heapq.rst
View file @
35e8c465
...
@@ -43,13 +43,13 @@ The following functions are provided:
...
@@ -43,13 +43,13 @@ The following functions are provided:
Pop and return the smallest item from the *heap*, maintaining the heap
Pop and return the smallest item from the *heap*, maintaining the heap
invariant. If the heap is empty, :exc:`IndexError` is raised.
invariant. If the heap is empty, :exc:`IndexError` is raised.
.. function:: heappushpop(heap, item)
.. function:: heappushpop(heap, item)
Push *item* on the heap, then pop and return the smallest item from the
Push *item* on the heap, then pop and return the smallest item from the
*heap*. The combined action runs more efficiently than :func:`heappush`
*heap*. The combined action runs more efficiently than :func:`heappush`
followed by a separate call to :func:`heappop`.
followed by a separate call to :func:`heappop`.
.. versionadded:: 2.6
.. function:: heapify(x)
.. function:: heapify(x)
...
...
Doc/library/itertools.rst
View file @
35e8c465
...
@@ -91,8 +91,6 @@ loops that truncate the stream.
...
@@ -91,8 +91,6 @@ loops that truncate the stream.
for element in it:
for element in it:
yield element
yield element
.. versionadded:: 2.6
.. function:: combinations(iterable, r)
.. function:: combinations(iterable, r)
...
@@ -137,7 +135,6 @@ loops that truncate the stream.
...
@@ -137,7 +135,6 @@ loops that truncate the stream.
if sorted(indices) == list(indices):
if sorted(indices) == list(indices):
yield tuple(pool[i] for i in indices)
yield tuple(pool[i] for i in indices)
.. versionadded:: 2.6
.. function:: count([n])
.. function:: count([n])
...
@@ -363,7 +360,6 @@ loops that truncate the stream.
...
@@ -363,7 +360,6 @@ loops that truncate the stream.
if len(set(indices)) == r:
if len(set(indices)) == r:
yield tuple(pool[i] for i in indices)
yield tuple(pool[i] for i in indices)
.. versionadded:: 2.6
.. function:: product(*iterables[, repeat])
.. function:: product(*iterables[, repeat])
...
@@ -425,10 +421,6 @@ loops that truncate the stream.
...
@@ -425,10 +421,6 @@ loops that truncate the stream.
for args in iterable:
for args in iterable:
yield function(*args)
yield function(*args)
.. versionchanged:: 2.6
Previously, :func:`starmap` required the function arguments to be tuples.
Now, any iterable is allowed.
.. function:: takewhile(predicate, iterable)
.. function:: takewhile(predicate, iterable)
...
...
Doc/library/logging.rst
View file @
35e8c465
...
@@ -1240,10 +1240,6 @@ When this script is run, the output should look something like this::
...
@@ -1240,10 +1240,6 @@ When this script is run, the output should look something like this::
2008
-
01
-
18
14
:
49
:
54
,
033
d
.
e
.
f
WARNING
IP
:
192.168.0.1
User
:
sheila
A
message
at
WARNING
level
with
2
parameters
2008
-
01
-
18
14
:
49
:
54
,
033
d
.
e
.
f
WARNING
IP
:
192.168.0.1
User
:
sheila
A
message
at
WARNING
level
with
2
parameters
2008
-
01
-
18
14
:
49
:
54
,
033
d
.
e
.
f
WARNING
IP
:
127.0.0.1
User
:
jim
A
message
at
WARNING
level
with
2
parameters
2008
-
01
-
18
14
:
49
:
54
,
033
d
.
e
.
f
WARNING
IP
:
127.0.0.1
User
:
jim
A
message
at
WARNING
level
with
2
parameters
..
versionadded
::
2.6
The
:
class
:`
LoggerAdapter
`
class
was
not
present
in
previous
versions
.
..
_network
-
logging
:
..
_network
-
logging
:
...
@@ -2143,8 +2139,6 @@ made, and any exception information to be logged.
...
@@ -2143,8 +2139,6 @@ made, and any exception information to be logged.
LoggerAdapter
Objects
LoggerAdapter
Objects
---------------------
---------------------
..
versionadded
::
2.6
:
class
:`
LoggerAdapter
`
instances
are
used
to
conveniently
pass
contextual
:
class
:`
LoggerAdapter
`
instances
are
used
to
conveniently
pass
contextual
information
into
logging
calls
.
For
a
usage
example
,
see
the
section
on
information
into
logging
calls
.
For
a
usage
example
,
see
the
section
on
`
adding
contextual
information
to
your
logging
output
`
__
.
`
adding
contextual
information
to
your
logging
output
`
__
.
...
...
Doc/library/math.rst
View file @
35e8c465
...
@@ -102,7 +102,6 @@ Number-theoretic and representation functions:
...
@@ -102,7 +102,6 @@ Number-theoretic and representation functions:
Return the :class:`Real` value *x* truncated to an :class:`Integral` (usually
Return the :class:`Real` value *x* truncated to an :class:`Integral` (usually
a long integer). Delegates to ``x.__trunc__()``.
a long integer). Delegates to ``x.__trunc__()``.
.. versionadded:: 2.6
Note that :func:`frexp` and :func:`modf` have a different call/return pattern
Note that :func:`frexp` and :func:`modf` have a different call/return pattern
than their C equivalents: they take a single argument and return a pair of
than their C equivalents: they take a single argument and return a pair of
...
@@ -133,8 +132,6 @@ Power and logarithmic functions:
...
@@ -133,8 +132,6 @@ Power and logarithmic functions:
Return the natural logarithm of *1+x* (base *e*). The
Return the natural logarithm of *1+x* (base *e*). The
result is calculated in a way which is accurate for *x* near zero.
result is calculated in a way which is accurate for *x* near zero.
.. versionadded:: 2.6
.. function:: log10(x)
.. function:: log10(x)
...
@@ -150,9 +147,6 @@ Power and logarithmic functions:
...
@@ -150,9 +147,6 @@ Power and logarithmic functions:
``x`` is negative, and ``y`` is not an integer then ``pow(x, y)``
``x`` is negative, and ``y`` is not an integer then ``pow(x, y)``
is undefined, and raises :exc:`ValueError`.
is undefined, and raises :exc:`ValueError`.
.. versionchanged:: 2.6
The outcome of ``1**nan`` and ``nan**0`` was undefined.
.. function:: sqrt(x)
.. function:: sqrt(x)
...
@@ -225,22 +219,16 @@ Hyperbolic functions:
...
@@ -225,22 +219,16 @@ Hyperbolic functions:
Return the inverse hyperbolic cosine of *x*.
Return the inverse hyperbolic cosine of *x*.
.. versionadded:: 2.6
.. function:: asinh(x)
.. function:: asinh(x)
Return the inverse hyperbolic sine of *x*.
Return the inverse hyperbolic sine of *x*.
.. versionadded:: 2.6
.. function:: atanh(x)
.. function:: atanh(x)
Return the inverse hyperbolic tangent of *x*.
Return the inverse hyperbolic tangent of *x*.
.. versionadded:: 2.6
.. function:: cosh(x)
.. function:: cosh(x)
...
...
Doc/library/operator.rst
View file @
35e8c465
...
@@ -457,7 +457,6 @@ expect a function argument.
...
@@ -457,7 +457,6 @@ expect a function argument.
>>> itemgetter(slice(2,None))('ABCDEFG')
>>> itemgetter(slice(2,None))('ABCDEFG')
'CDEFG'
'CDEFG'
.. versionadded:: 2.4
Example of using :func:`itemgetter` to retrieve specific fields from a
Example of using :func:`itemgetter` to retrieve specific fields from a
tuple record:
tuple record:
...
...
Doc/library/pickletools.rst
View file @
35e8c465
...
@@ -39,4 +39,3 @@ probably won't find the :mod:`pickletools` module relevant.
...
@@ -39,4 +39,3 @@ probably won't find the :mod:`pickletools` module relevant.
opcodes. The optimized pickle is shorter, takes less transmission time,
opcodes. The optimized pickle is shorter, takes less transmission time,
requires less storage space, and unpickles more efficiently.
requires less storage space, and unpickles more efficiently.
.. versionadded:: 2.6
Doc/library/plistlib.rst
View file @
35e8c465
...
@@ -7,10 +7,6 @@
...
@@ -7,10 +7,6 @@
.. sectionauthor:: Georg Brandl <georg@python.org>
.. sectionauthor:: Georg Brandl <georg@python.org>
.. (harvested from docstrings in the original file)
.. (harvested from docstrings in the original file)
.. versionchanged:: 2.6
This module was previously only available in the Mac-specific library, it is
now available for all platforms.
.. index::
.. index::
pair: plist; file
pair: plist; file
single: property list
single: property list
...
...
Doc/library/pprint.rst
View file @
35e8c465
...
@@ -22,9 +22,6 @@ width constraint.
...
@@ -22,9 +22,6 @@ width constraint.
Dictionaries are sorted by key before the display is computed.
Dictionaries are sorted by key before the display is computed.
.. versionchanged:: 2.6
Added support for :class:`set` and :class:`frozenset`.
The :mod:`pprint` module defines one class:
The :mod:`pprint` module defines one class:
.. First the implementation class:
.. First the implementation class:
...
...
Doc/library/py_compile.rst
View file @
35e8c465
...
@@ -45,10 +45,6 @@ When this module is run as a script, the :func:`main` is used to compile all the
...
@@ -45,10 +45,6 @@ When this module is run as a script, the :func:`main` is used to compile all the
files named on the command line. The exit status is nonzero if one of the files
files named on the command line. The exit status is nonzero if one of the files
could not be compiled.
could not be compiled.
.. versionchanged:: 2.6
Added the nonzero exit status.
.. seealso::
.. seealso::
...
...
Doc/library/pyexpat.rst
View file @
35e8c465
...
@@ -182,9 +182,6 @@ XMLParser Objects
...
@@ -182,9 +182,6 @@ XMLParser Objects
to this attribute.
to this attribute.
When the size is changed, the buffer will be flushed.
When the size is changed, the buffer will be flushed.
.. versionchanged:: 2.6
The buffer size can now be changed.
.. attribute:: xmlparser.buffer_text
.. attribute:: xmlparser.buffer_text
...
...
Doc/library/queue.rst
View file @
35e8c465
...
@@ -37,8 +37,6 @@ The :mod:`Queue` module defines the following classes and exceptions:
...
@@ -37,8 +37,6 @@ The :mod:`Queue` module defines the following classes and exceptions:
block once this size has been reached, until queue items are consumed. If
block once this size has been reached, until queue items are consumed. If
*maxsize* is less than or equal to zero, the queue size is infinite.
*maxsize* is less than or equal to zero, the queue size is infinite.
.. versionadded:: 2.6
.. class:: PriorityQueue(maxsize)
.. class:: PriorityQueue(maxsize)
...
@@ -51,8 +49,6 @@ The :mod:`Queue` module defines the following classes and exceptions:
...
@@ -51,8 +49,6 @@ The :mod:`Queue` module defines the following classes and exceptions:
one returned by ``sorted(list(entries))[0]``). A typical pattern for entries
one returned by ``sorted(list(entries))[0]``). A typical pattern for entries
is a tuple in the form: ``(priority_number, data)``.
is a tuple in the form: ``(priority_number, data)``.
.. versionadded:: 2.6
.. exception:: Empty
.. exception:: Empty
...
...
Doc/library/random.rst
View file @
35e8c465
...
@@ -153,6 +153,7 @@ be found in any statistics text.
...
@@ -153,6 +153,7 @@ be found in any statistics text.
Return a random floating point number *N* such that ``a <= N < b``.
Return a random floating point number *N* such that ``a <= N < b``.
.. function:: triangular(low, high, mode)
.. function:: triangular(low, high, mode)
Return a random floating point number *N* such that ``low <= N < high`` and
Return a random floating point number *N* such that ``low <= N < high`` and
...
@@ -160,8 +161,6 @@ be found in any statistics text.
...
@@ -160,8 +161,6 @@ be found in any statistics text.
default to zero and one. The *mode* argument defaults to the midpoint
default to zero and one. The *mode* argument defaults to the midpoint
between the bounds, giving a symmetric distribution.
between the bounds, giving a symmetric distribution.
.. versionadded:: 2.6
.. function:: betavariate(alpha, beta)
.. function:: betavariate(alpha, beta)
...
...
Doc/library/sched.rst
View file @
35e8c465
...
@@ -129,5 +129,3 @@ Scheduler Objects
...
@@ -129,5 +129,3 @@ Scheduler Objects
Read-only attribute returning a list of upcoming events in the order they
Read-only attribute returning a list of upcoming events in the order they
will be run. Each event is shown as a :term:`named tuple` with the
will be run. Each event is shown as a :term:`named tuple` with the
following fields: time, priority, action, argument.
following fields: time, priority, action, argument.
.. versionadded:: 2.6
Doc/library/select.rst
View file @
35e8c465
...
@@ -31,8 +31,6 @@ The module defines the following:
...
@@ -31,8 +31,6 @@ The module defines the following:
section :ref:`epoll-objects` below for the methods supported by epolling
section :ref:`epoll-objects` below for the methods supported by epolling
objects.
objects.
.. versionadded:: 2.6
.. function:: poll()
.. function:: poll()
...
@@ -47,16 +45,12 @@ The module defines the following:
...
@@ -47,16 +45,12 @@ The module defines the following:
(Only supported on BSD.) Returns a kernel queue object object; see section
(Only supported on BSD.) Returns a kernel queue object object; see section
:ref:`kqueue-objects` below for the methods supported by kqueue objects.
:ref:`kqueue-objects` below for the methods supported by kqueue objects.
.. versionadded:: 2.6
.. function:: kqueue(ident, filter=KQ_FILTER_READ, flags=KQ_ADD, fflags=0, data=0, udata=0)
.. function:: kqueue(ident, filter=KQ_FILTER_READ, flags=KQ_ADD, fflags=0, data=0, udata=0)
(Only supported on BSD.) Returns a kernel event object object; see section
(Only supported on BSD.) Returns a kernel event object object; see section
:ref:`kevent-objects` below for the methods supported by kqueue objects.
:ref:`kevent-objects` below for the methods supported by kqueue objects.
.. versionadded:: 2.6
.. function:: select(iwtd, owtd, ewtd[, timeout])
.. function:: select(iwtd, owtd, ewtd[, timeout])
...
@@ -224,8 +218,6 @@ linearly scanned again. :cfunc:`select` is O(highest file descriptor), while
...
@@ -224,8 +218,6 @@ linearly scanned again. :cfunc:`select` is O(highest file descriptor), while
that was never registered causes an :exc:`IOError` exception with errno
that was never registered causes an :exc:`IOError` exception with errno
:const:`ENOENT` to be raised.
:const:`ENOENT` to be raised.
.. versionadded:: 2.6
.. method:: poll.unregister(fd)
.. method:: poll.unregister(fd)
...
...
Doc/library/shutil.rst
View file @
35e8c465
...
@@ -110,10 +110,6 @@ copying and removal. For operations on individual files, see also the
...
@@ -110,10 +110,6 @@ copying and removal. For operations on individual files, see also the
information return by :func:`sys.exc_info`. Exceptions raised by *onerror*
information return by :func:`sys.exc_info`. Exceptions raised by *onerror*
will not be caught.
will not be caught.
.. versionchanged:: 2.6
Explicitly check for *path* being a symbolic link and raise :exc:`OSError`
in that case.
.. function:: move(src, dst)
.. function:: move(src, dst)
...
...
Doc/library/signal.rst
View file @
35e8c465
...
@@ -160,15 +160,11 @@ The :mod:`signal` module defines the following functions:
...
@@ -160,15 +160,11 @@ The :mod:`signal` module defines the following functions:
Attempting to pass an invalid interval timer will cause a
Attempting to pass an invalid interval timer will cause a
:exc:`ItimerError`.
:exc:`ItimerError`.
.. versionadded:: 2.6
.. function:: getitimer(which)
.. function:: getitimer(which)
Returns current value of a given interval timer specified by *which*.
Returns current value of a given interval timer specified by *which*.
.. versionadded:: 2.6
.. function:: set_wakeup_fd(fd)
.. function:: set_wakeup_fd(fd)
...
@@ -195,8 +191,6 @@ The :mod:`signal` module defines the following functions:
...
@@ -195,8 +191,6 @@ The :mod:`signal` module defines the following functions:
behaviour to interruptible by implicitly calling :cfunc:`siginterrupt` with a true *flag*
behaviour to interruptible by implicitly calling :cfunc:`siginterrupt` with a true *flag*
value for the given signal.
value for the given signal.
.. versionadded:: 2.6
.. function:: signal(signalnum, handler)
.. function:: signal(signalnum, handler)
...
...
Doc/library/sqlite3.rst
View file @
35e8c465
...
@@ -350,8 +350,6 @@ A :class:`Connection` instance has the following attributes and methods:
...
@@ -350,8 +350,6 @@ A :class:`Connection` instance has the following attributes and methods:
.. method:: Connection.set_progress_handler(handler, n)
.. method:: Connection.set_progress_handler(handler, n)
.. versionadded:: 2.6
This routine registers a callback. The callback is invoked for every *n*
This routine registers a callback. The callback is invoked for every *n*
instructions of the SQLite virtual machine. This is useful if you want to
instructions of the SQLite virtual machine. This is useful if you want to
get called from SQLite during long-running operations, for example to update
get called from SQLite during long-running operations, for example to update
...
@@ -414,8 +412,6 @@ A :class:`Connection` instance has the following attributes and methods:
...
@@ -414,8 +412,6 @@ A :class:`Connection` instance has the following attributes and methods:
the same capabilities as the :kbd:`.dump` command in the :program:`sqlite3`
the same capabilities as the :kbd:`.dump` command in the :program:`sqlite3`
shell.
shell.
.. versionadded:: 2.6
Example::
Example::
# Convert file existing_db.db to SQL dump file dump.sql
# Convert file existing_db.db to SQL dump file dump.sql
...
@@ -764,8 +760,6 @@ case-insensitively by name:
...
@@ -764,8 +760,6 @@ case-insensitively by name:
Using the connection as a context manager
Using the connection as a context manager
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.. versionadded:: 2.6
Connection objects can be used as context managers
Connection objects can be used as context managers
that automatically commit or rollback transactions. In the event of an
that automatically commit or rollback transactions. In the event of an
exception, the transaction is rolled back; otherwise, the transaction is
exception, the transaction is rolled back; otherwise, the transaction is
...
...
Doc/library/subprocess.rst
View file @
35e8c465
...
@@ -212,8 +212,6 @@ Instances of the :class:`Popen` class have the following methods:
...
@@ -212,8 +212,6 @@ Instances of the :class:`Popen` class have the following methods:
On Windows only SIGTERM is supported so far. It's an alias for
On Windows only SIGTERM is supported so far. It's an alias for
:meth:`terminate`.
:meth:`terminate`.
.. versionadded:: 2.6
.. method:: Popen.terminate()
.. method:: Popen.terminate()
...
@@ -221,16 +219,12 @@ Instances of the :class:`Popen` class have the following methods:
...
@@ -221,16 +219,12 @@ Instances of the :class:`Popen` class have the following methods:
child. On Windows the Win32 API function TerminateProcess is called
child. On Windows the Win32 API function TerminateProcess is called
to stop the child.
to stop the child.
.. versionadded:: 2.6
.. method:: Popen.kill()
.. method:: Popen.kill()
Kills the child. On Posix OSs the function sends SIGKILL to the child.
Kills the child. On Posix OSs the function sends SIGKILL to the child.
On Windows :meth:`kill` is an alias for :meth:`terminate`.
On Windows :meth:`kill` is an alias for :meth:`terminate`.
.. versionadded:: 2.6
The following attributes are also available:
The following attributes are also available:
...
...
Doc/library/sys.rst
View file @
35e8c465
...
@@ -66,8 +66,6 @@ always available.
...
@@ -66,8 +66,6 @@ always available.
This function should be used for specialized purposes only.
This function should be used for specialized purposes only.
.. versionadded:: 2.6
.. function:: _clear_type_cache()
.. function:: _clear_type_cache()
...
@@ -77,8 +75,6 @@ always available.
...
@@ -77,8 +75,6 @@ always available.
This function should be used for internal and specialized purposes only.
This function should be used for internal and specialized purposes only.
.. versionadded:: 2.6
.. function:: _current_frames()
.. function:: _current_frames()
...
@@ -245,8 +241,6 @@ always available.
...
@@ -245,8 +241,6 @@ always available.
| :const:`unicode` | -U |
| :const:`unicode` | -U |
+------------------------------+------------------------------------------+
+------------------------------+------------------------------------------+
.. versionadded:: 2.6
.. data:: float_info
.. data:: float_info
...
@@ -360,8 +354,6 @@ always available.
...
@@ -360,8 +354,6 @@ always available.
Get the profiler function as set by :func:`setprofile`.
Get the profiler function as set by :func:`setprofile`.
.. versionadded:: 2.6
.. function:: gettrace()
.. function:: gettrace()
...
@@ -378,8 +370,6 @@ always available.
...
@@ -378,8 +370,6 @@ always available.
implementation platform, rather than part of the language definition,
implementation platform, rather than part of the language definition,
and thus may not be available in all Python implementations.
and thus may not be available in all Python implementations.
.. versionadded:: 2.6
.. function:: getwindowsversion()
.. function:: getwindowsversion()
...
@@ -556,8 +546,6 @@ always available.
...
@@ -556,8 +546,6 @@ always available.
environment variable, but you can set it yourself to control bytecode file
environment variable, but you can set it yourself to control bytecode file
generation.
generation.
.. versionadded:: 2.6
.. function:: setcheckinterval(interval)
.. function:: setcheckinterval(interval)
...
...
Doc/library/zipfile.rst
View file @
35e8c465
...
@@ -182,8 +182,6 @@ ZipFile Objects
...
@@ -182,8 +182,6 @@ ZipFile Objects
filename or a :class:`ZipInfo` object. *pwd* is the password used for
filename or a :class:`ZipInfo` object. *pwd* is the password used for
encrypted files.
encrypted files.
.. versionadded:: 2.6
.. method:: ZipFile.extractall([path[, members[, pwd]]])
.. method:: ZipFile.extractall([path[, members[, pwd]]])
...
@@ -192,8 +190,6 @@ ZipFile Objects
...
@@ -192,8 +190,6 @@ ZipFile Objects
be a subset of the list returned by :meth:`namelist`. *pwd* is the password
be a subset of the list returned by :meth:`namelist`. *pwd* is the password
used for encrypted files.
used for encrypted files.
.. versionadded:: 2.6
.. method:: ZipFile.printdir()
.. method:: ZipFile.printdir()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment