Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
cpython
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
Batuhan Osman TASKAYA
cpython
Commits
35e8c465
Kaydet (Commit)
35e8c465
authored
Nis 24, 2008
tarafından
Benjamin Peterson
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
remove some old versionchanged and versionadded directives
üst
3513358e
Show whitespace changes
Inline
Side-by-side
Showing
30 changed files
with
7 additions
and
146 deletions
+7
-146
_winreg.rst
Doc/library/_winreg.rst
+0
-3
basehttpserver.rst
Doc/library/basehttpserver.rst
+0
-3
cmath.rst
Doc/library/cmath.rst
+0
-19
ctypes.rst
Doc/library/ctypes.rst
+5
-8
datetime.rst
Doc/library/datetime.rst
+0
-2
decimal.rst
Doc/library/decimal.rst
+0
-6
difflib.rst
Doc/library/difflib.rst
+0
-1
doctest.rst
Doc/library/doctest.rst
+0
-3
fractions.rst
Doc/library/fractions.rst
+0
-1
functions.rst
Doc/library/functions.rst
+0
-3
heapq.rst
Doc/library/heapq.rst
+1
-1
itertools.rst
Doc/library/itertools.rst
+0
-8
logging.rst
Doc/library/logging.rst
+0
-6
math.rst
Doc/library/math.rst
+0
-12
operator.rst
Doc/library/operator.rst
+0
-1
pickletools.rst
Doc/library/pickletools.rst
+0
-1
plistlib.rst
Doc/library/plistlib.rst
+0
-4
pprint.rst
Doc/library/pprint.rst
+0
-3
py_compile.rst
Doc/library/py_compile.rst
+0
-4
pyexpat.rst
Doc/library/pyexpat.rst
+0
-3
queue.rst
Doc/library/queue.rst
+0
-4
random.rst
Doc/library/random.rst
+1
-2
sched.rst
Doc/library/sched.rst
+0
-2
select.rst
Doc/library/select.rst
+0
-8
shutil.rst
Doc/library/shutil.rst
+0
-4
signal.rst
Doc/library/signal.rst
+0
-6
sqlite3.rst
Doc/library/sqlite3.rst
+0
-6
subprocess.rst
Doc/library/subprocess.rst
+0
-6
sys.rst
Doc/library/sys.rst
+0
-12
zipfile.rst
Doc/library/zipfile.rst
+0
-4
No files found.
Doc/library/_winreg.rst
Dosyayı görüntüle @
35e8c465
...
...
@@ -138,8 +138,6 @@ This module offers the following functions:
>>> ExpandEnvironmentStrings(u"%windir%")
u"C:\\Windows"
.. versionadded:: 2.6
.. function:: FlushKey(key)
...
...
@@ -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.
.. versionadded:: 2.6
Doc/library/basehttpserver.rst
Dosyayı görüntüle @
35e8c465
...
...
@@ -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.
The default value is ``'text/html'``.
.. versionadded:: 2.6
Previously, the content type was always ``'text/html'``.
.. attribute:: BaseHTTPRequestHandler.protocol_version
...
...
Doc/library/cmath.rst
Dosyayı görüntüle @
35e8c465
...
...
@@ -65,8 +65,6 @@ Definition::
Return phase, also known as the argument, of a complex.
.. versionadded:: 2.6
.. function:: polar(x)
...
...
@@ -75,16 +73,12 @@ Definition::
*r* and *phi*. *r* is the distance from 0 and *phi* the phase
angle.
.. versionadded:: 2.6
.. function:: rect(r, phi)
Convert from polar coordinates to rectangular coordinates and return
a :class:`complex`.
.. versionadded:: 2.6
cmath functions
...
...
@@ -115,9 +109,6 @@ cmath functions
continuous from the right. The other extends from ``-1j`` along
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)
...
...
@@ -126,9 +117,6 @@ cmath functions
other extends from ``-1j`` along the imaginary axis to ``-∞j``, continuous
from the left.
.. versionchanged:: 2.6
direction of continuity of upper cut reversed
.. function:: atanh(x)
...
...
@@ -137,9 +125,6 @@ cmath functions
other extends from ``-1`` along the real axis to ``-∞``, continuous from
above.
.. versionchanged:: 2.6
direction of continuity of right cut reversed
.. function:: cos(x)
...
...
@@ -161,15 +146,11 @@ cmath functions
Return *True* if the real or the imaginary part of x is positive
or negative infinity.
.. versionadded:: 2.6
.. function:: isnan(x)
Return *True* if the real or imaginary part of x is not a number (NaN).
.. versionadded:: 2.6
.. function:: log(x[, base])
...
...
Doc/library/ctypes.rst
Dosyayı görüntüle @
35e8c465
...
...
@@ -2004,14 +2004,11 @@ Fundamental data types
.. class:: _SimpleCData
This non-public class is the base class of all fundamental ctypes data types. It
is mentioned here because it contains the common attributes of the fundamental
ctypes data types. ``_SimpleCData`` is a subclass of ``_CData``, so it inherits
their methods and attributes.
.. versionchanged:: 2.6
ctypes data types that are not and do not contain pointers can
now be pickled.
This non-public class is the base class of all fundamental ctypes data
types. It is mentioned here because it contains the common attributes of the
fundamental ctypes data types. ``_SimpleCData`` is a subclass of ``_CData``,
so it inherits their methods and attributes. ctypes data types that are not
and do not contain pointers can now be pickled.
Instances have a single attribute:
...
...
Doc/library/datetime.rst
Dosyayı görüntüle @
35e8c465
...
...
@@ -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
the left to six places.
.. versionadded:: 2.6
For a naive object, the ``%z`` and ``%Z`` format codes are replaced by empty
strings.
...
...
Doc/library/decimal.rst
Dosyayı görüntüle @
35e8c465
...
...
@@ -340,9 +340,6 @@ Decimal objects
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
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:
Return a :term:`named tuple` representation of the number:
``DecimalTuple(sign, digits, exponent)``.
.. versionchanged:: 2.6
Use a named tuple.
.. method:: Decimal.canonical()
...
...
Doc/library/difflib.rst
Dosyayı görüntüle @
35e8c465
...
...
@@ -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)``.
.. versionchanged:: 2.6
This method returns a :term:`named tuple` ``Match(a, b, size)``.
...
...
Doc/library/doctest.rst
Dosyayı görüntüle @
35e8c465
...
...
@@ -1441,9 +1441,6 @@ DocTestRunner objects
The optional *verbose* argument controls how detailed the summary is. If the
verbosity is not specified, then the :class:`DocTestRunner`'s verbosity is used.
.. versionchanged:: 2.6
Use a named tuple.
.. _doctest-outputchecker:
...
...
Doc/library/fractions.rst
Dosyayı görüntüle @
35e8c465
...
...
@@ -6,7 +6,6 @@
:synopsis: Rational numbers.
.. moduleauthor:: 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
...
...
Doc/library/functions.rst
Dosyayı görüntüle @
35e8c465
...
...
@@ -227,9 +227,6 @@ available. They are listed here in alphabetical order.
This function raises :exc:`SyntaxError` if the compiled source is invalid,
and :exc:`TypeError` if the source contains null bytes.
.. versionadded:: 2.6
Support for compiling AST objects.
.. function:: complex([real[, imag]])
...
...
Doc/library/heapq.rst
Dosyayı görüntüle @
35e8c465
...
...
@@ -43,13 +43,13 @@ The following functions are provided:
Pop and return the smallest item from the *heap*, maintaining the heap
invariant. If the heap is empty, :exc:`IndexError` is raised.
.. function:: heappushpop(heap, item)
Push *item* on the heap, then pop and return the smallest item from the
*heap*. The combined action runs more efficiently than :func:`heappush`
followed by a separate call to :func:`heappop`.
.. versionadded:: 2.6
.. function:: heapify(x)
...
...
Doc/library/itertools.rst
Dosyayı görüntüle @
35e8c465
...
...
@@ -91,8 +91,6 @@ loops that truncate the stream.
for element in it:
yield element
.. versionadded:: 2.6
.. function:: combinations(iterable, r)
...
...
@@ -137,7 +135,6 @@ loops that truncate the stream.
if sorted(indices) == list(indices):
yield tuple(pool[i] for i in indices)
.. versionadded:: 2.6
.. function:: count([n])
...
...
@@ -363,7 +360,6 @@ loops that truncate the stream.
if len(set(indices)) == r:
yield tuple(pool[i] for i in indices)
.. versionadded:: 2.6
.. function:: product(*iterables[, repeat])
...
...
@@ -425,10 +421,6 @@ loops that truncate the stream.
for args in iterable:
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)
...
...
Doc/library/logging.rst
Dosyayı görüntüle @
35e8c465
...
...
@@ -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
:
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
:
...
...
@@ -2143,8 +2139,6 @@ made, and any exception information to be logged.
LoggerAdapter
Objects
---------------------
..
versionadded
::
2.6
:
class
:`
LoggerAdapter
`
instances
are
used
to
conveniently
pass
contextual
information
into
logging
calls
.
For
a
usage
example
,
see
the
section
on
`
adding
contextual
information
to
your
logging
output
`
__
.
...
...
Doc/library/math.rst
Dosyayı görüntüle @
35e8c465
...
...
@@ -102,7 +102,6 @@ Number-theoretic and representation functions:
Return the :class:`Real` value *x* truncated to an :class:`Integral` (usually
a long integer). Delegates to ``x.__trunc__()``.
.. versionadded:: 2.6
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
...
...
@@ -133,8 +132,6 @@ Power and logarithmic functions:
Return the natural logarithm of *1+x* (base *e*). The
result is calculated in a way which is accurate for *x* near zero.
.. versionadded:: 2.6
.. function:: log10(x)
...
...
@@ -150,9 +147,6 @@ Power and logarithmic functions:
``x`` is negative, and ``y`` is not an integer then ``pow(x, y)``
is undefined, and raises :exc:`ValueError`.
.. versionchanged:: 2.6
The outcome of ``1**nan`` and ``nan**0`` was undefined.
.. function:: sqrt(x)
...
...
@@ -225,22 +219,16 @@ Hyperbolic functions:
Return the inverse hyperbolic cosine of *x*.
.. versionadded:: 2.6
.. function:: asinh(x)
Return the inverse hyperbolic sine of *x*.
.. versionadded:: 2.6
.. function:: atanh(x)
Return the inverse hyperbolic tangent of *x*.
.. versionadded:: 2.6
.. function:: cosh(x)
...
...
Doc/library/operator.rst
Dosyayı görüntüle @
35e8c465
...
...
@@ -457,7 +457,6 @@ expect a function argument.
>>> itemgetter(slice(2,None))('ABCDEFG')
'CDEFG'
.. versionadded:: 2.4
Example of using :func:`itemgetter` to retrieve specific fields from a
tuple record:
...
...
Doc/library/pickletools.rst
Dosyayı görüntüle @
35e8c465
...
...
@@ -39,4 +39,3 @@ probably won't find the :mod:`pickletools` module relevant.
opcodes. The optimized pickle is shorter, takes less transmission time,
requires less storage space, and unpickles more efficiently.
.. versionadded:: 2.6
Doc/library/plistlib.rst
Dosyayı görüntüle @
35e8c465
...
...
@@ -7,10 +7,6 @@
.. sectionauthor:: Georg Brandl <georg@python.org>
.. (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::
pair: plist; file
single: property list
...
...
Doc/library/pprint.rst
Dosyayı görüntüle @
35e8c465
...
...
@@ -22,9 +22,6 @@ width constraint.
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:
.. First the implementation class:
...
...
Doc/library/py_compile.rst
Dosyayı görüntüle @
35e8c465
...
...
@@ -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
could not be compiled.
.. versionchanged:: 2.6
Added the nonzero exit status.
.. seealso::
...
...
Doc/library/pyexpat.rst
Dosyayı görüntüle @
35e8c465
...
...
@@ -182,9 +182,6 @@ XMLParser Objects
to this attribute.
When the size is changed, the buffer will be flushed.
.. versionchanged:: 2.6
The buffer size can now be changed.
.. attribute:: xmlparser.buffer_text
...
...
Doc/library/queue.rst
Dosyayı görüntüle @
35e8c465
...
...
@@ -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
*maxsize* is less than or equal to zero, the queue size is infinite.
.. versionadded:: 2.6
.. class:: PriorityQueue(maxsize)
...
...
@@ -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
is a tuple in the form: ``(priority_number, data)``.
.. versionadded:: 2.6
.. exception:: Empty
...
...
Doc/library/random.rst
Dosyayı görüntüle @
35e8c465
...
...
@@ -153,6 +153,7 @@ be found in any statistics text.
Return a random floating point number *N* such that ``a <= N < b``.
.. function:: triangular(low, high, mode)
Return a random floating point number *N* such that ``low <= N < high`` and
...
...
@@ -160,8 +161,6 @@ be found in any statistics text.
default to zero and one. The *mode* argument defaults to the midpoint
between the bounds, giving a symmetric distribution.
.. versionadded:: 2.6
.. function:: betavariate(alpha, beta)
...
...
Doc/library/sched.rst
Dosyayı görüntüle @
35e8c465
...
...
@@ -129,5 +129,3 @@ Scheduler Objects
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
following fields: time, priority, action, argument.
.. versionadded:: 2.6
Doc/library/select.rst
Dosyayı görüntüle @
35e8c465
...
...
@@ -31,8 +31,6 @@ The module defines the following:
section :ref:`epoll-objects` below for the methods supported by epolling
objects.
.. versionadded:: 2.6
.. function:: poll()
...
...
@@ -47,16 +45,12 @@ The module defines the following:
(Only supported on BSD.) Returns a kernel queue object object; see section
: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)
(Only supported on BSD.) Returns a kernel event object object; see section
:ref:`kevent-objects` below for the methods supported by kqueue objects.
.. versionadded:: 2.6
.. function:: select(iwtd, owtd, ewtd[, timeout])
...
...
@@ -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
:const:`ENOENT` to be raised.
.. versionadded:: 2.6
.. method:: poll.unregister(fd)
...
...
Doc/library/shutil.rst
Dosyayı görüntüle @
35e8c465
...
...
@@ -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*
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)
...
...
Doc/library/signal.rst
Dosyayı görüntüle @
35e8c465
...
...
@@ -160,15 +160,11 @@ The :mod:`signal` module defines the following functions:
Attempting to pass an invalid interval timer will cause a
:exc:`ItimerError`.
.. versionadded:: 2.6
.. function:: getitimer(which)
Returns current value of a given interval timer specified by *which*.
.. versionadded:: 2.6
.. function:: set_wakeup_fd(fd)
...
...
@@ -195,8 +191,6 @@ The :mod:`signal` module defines the following functions:
behaviour to interruptible by implicitly calling :cfunc:`siginterrupt` with a true *flag*
value for the given signal.
.. versionadded:: 2.6
.. function:: signal(signalnum, handler)
...
...
Doc/library/sqlite3.rst
Dosyayı görüntüle @
35e8c465
...
...
@@ -350,8 +350,6 @@ A :class:`Connection` instance has the following attributes and methods:
.. method:: Connection.set_progress_handler(handler, n)
.. versionadded:: 2.6
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
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:
the same capabilities as the :kbd:`.dump` command in the :program:`sqlite3`
shell.
.. versionadded:: 2.6
Example::
# Convert file existing_db.db to SQL dump file dump.sql
...
...
@@ -764,8 +760,6 @@ case-insensitively by name:
Using the connection as a context manager
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.. versionadded:: 2.6
Connection objects can be used as context managers
that automatically commit or rollback transactions. In the event of an
exception, the transaction is rolled back; otherwise, the transaction is
...
...
Doc/library/subprocess.rst
Dosyayı görüntüle @
35e8c465
...
...
@@ -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
:meth:`terminate`.
.. versionadded:: 2.6
.. method:: Popen.terminate()
...
...
@@ -221,16 +219,12 @@ Instances of the :class:`Popen` class have the following methods:
child. On Windows the Win32 API function TerminateProcess is called
to stop the child.
.. versionadded:: 2.6
.. method:: Popen.kill()
Kills the child. On Posix OSs the function sends SIGKILL to the child.
On Windows :meth:`kill` is an alias for :meth:`terminate`.
.. versionadded:: 2.6
The following attributes are also available:
...
...
Doc/library/sys.rst
Dosyayı görüntüle @
35e8c465
...
...
@@ -66,8 +66,6 @@ always available.
This function should be used for specialized purposes only.
.. versionadded:: 2.6
.. function:: _clear_type_cache()
...
...
@@ -77,8 +75,6 @@ always available.
This function should be used for internal and specialized purposes only.
.. versionadded:: 2.6
.. function:: _current_frames()
...
...
@@ -245,8 +241,6 @@ always available.
| :const:`unicode` | -U |
+------------------------------+------------------------------------------+
.. versionadded:: 2.6
.. data:: float_info
...
...
@@ -360,8 +354,6 @@ always available.
Get the profiler function as set by :func:`setprofile`.
.. versionadded:: 2.6
.. function:: gettrace()
...
...
@@ -378,8 +370,6 @@ always available.
implementation platform, rather than part of the language definition,
and thus may not be available in all Python implementations.
.. versionadded:: 2.6
.. function:: getwindowsversion()
...
...
@@ -556,8 +546,6 @@ always available.
environment variable, but you can set it yourself to control bytecode file
generation.
.. versionadded:: 2.6
.. function:: setcheckinterval(interval)
...
...
Doc/library/zipfile.rst
Dosyayı görüntüle @
35e8c465
...
...
@@ -182,8 +182,6 @@ ZipFile Objects
filename or a :class:`ZipInfo` object. *pwd* is the password used for
encrypted files.
.. versionadded:: 2.6
.. method:: ZipFile.extractall([path[, members[, pwd]]])
...
...
@@ -192,8 +190,6 @@ ZipFile Objects
be a subset of the list returned by :meth:`namelist`. *pwd* is the password
used for encrypted files.
.. versionadded:: 2.6
.. 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