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
8b616113
Kaydet (Commit)
8b616113
authored
Eyl 08, 2012
tarafından
Ezio Melotti
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Sade Fark
#15865: merge with 3.2.
üst
0fbbce99
e927e256
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
12 deletions
+16
-12
configparser.rst
Doc/library/configparser.rst
+11
-5
nntplib.rst
Doc/library/nntplib.rst
+3
-3
threading.rst
Doc/library/threading.rst
+2
-4
No files found.
Doc/library/configparser.rst
Dosyayı görüntüle @
8b616113
...
@@ -1007,7 +1007,7 @@ ConfigParser Objects
...
@@ -1007,7 +1007,7 @@ ConfigParser Objects
.. versionadded:: 3.2
.. versionadded:: 3.2
.. method:: get(section, option,
raw=False, [vars
, fallback])
.. method:: get(section, option,
*, raw=False, vars=None[
, fallback])
Get an *option* value for the named *section*. If *vars* is provided, it
Get an *option* value for the named *section*. If *vars* is provided, it
must be a dictionary. The *option* is looked up in *vars* (if provided),
must be a dictionary. The *option* is looked up in *vars* (if provided),
...
@@ -1025,21 +1025,21 @@ ConfigParser Objects
...
@@ -1025,21 +1025,21 @@ ConfigParser Objects
(especially when using the mapping protocol).
(especially when using the mapping protocol).
.. method:: getint(section, option,
raw=False, [vars
, fallback])
.. method:: getint(section, option,
*, raw=False, vars=None[
, fallback])
A convenience method which coerces the *option* in the specified *section*
A convenience method which coerces the *option* in the specified *section*
to an integer. See :meth:`get` for explanation of *raw*, *vars* and
to an integer. See :meth:`get` for explanation of *raw*, *vars* and
*fallback*.
*fallback*.
.. method:: getfloat(section, option,
raw=False, [vars
, fallback])
.. method:: getfloat(section, option,
*, raw=False, vars=None[
, fallback])
A convenience method which coerces the *option* in the specified *section*
A convenience method which coerces the *option* in the specified *section*
to a floating point number. See :meth:`get` for explanation of *raw*,
to a floating point number. See :meth:`get` for explanation of *raw*,
*vars* and *fallback*.
*vars* and *fallback*.
.. method:: getboolean(section, option,
raw=False, [vars
, fallback])
.. method:: getboolean(section, option,
*, raw=False, vars=None[
, fallback])
A convenience method which coerces the *option* in the specified *section*
A convenience method which coerces the *option* in the specified *section*
to a Boolean value. Note that the accepted values for the option are
to a Boolean value. Note that the accepted values for the option are
...
@@ -1149,7 +1149,13 @@ ConfigParser Objects
...
@@ -1149,7 +1149,13 @@ ConfigParser Objects
RawConfigParser Objects
RawConfigParser Objects
-----------------------
-----------------------
.. class:: RawConfigParser(defaults=None, dict_type=collections.OrderedDict, allow_no_value=False, delimiters=('=', ':'), comment_prefixes=('#', ';'), inline_comment_prefixes=None, strict=True, empty_lines_in_values=True, default_section=configaparser.DEFAULTSECT, interpolation=None)
.. class:: RawConfigParser(defaults=None, dict_type=collections.OrderedDict, \
allow_no_value=False, *, delimiters=('=', ':'), \
comment_prefixes=('#', ';'), \
inline_comment_prefixes=None, strict=True, \
empty_lines_in_values=True, \
default_section=configparser.DEFAULTSECT[, \
interpolation])
Legacy variant of the :class:`ConfigParser` with interpolation disabled
Legacy variant of the :class:`ConfigParser` with interpolation disabled
by default and unsafe ``add_section`` and ``set`` methods.
by default and unsafe ``add_section`` and ``set`` methods.
...
...
Doc/library/nntplib.rst
Dosyayı görüntüle @
8b616113
...
@@ -487,10 +487,10 @@ The following are optional NNTP extensions defined in :rfc:`2980`. Some of
...
@@ -487,10 +487,10 @@ The following are optional NNTP extensions defined in :rfc:`2980`. Some of
them have been superseded by newer commands in :rfc:`3977`.
them have been superseded by newer commands in :rfc:`3977`.
.. method:: NNTP.xhdr(h
eader, string
, *, file=None)
.. method:: NNTP.xhdr(h
dr, str
, *, file=None)
Send an ``XHDR`` command. The *h
eade
r* argument is a header keyword, e.g.
Send an ``XHDR`` command. The *h
d
r* argument is a header keyword, e.g.
``'subject'``. The *str
ing
* argument should have the form ``'first-last'``
``'subject'``. The *str* argument should have the form ``'first-last'``
where *first* and *last* are the first and last article numbers to search.
where *first* and *last* are the first and last article numbers to search.
Return a pair ``(response, list)``, where *list* is a list of pairs ``(id,
Return a pair ``(response, list)``, where *list* is a list of pairs ``(id,
text)``, where *id* is an article number (as a string) and *text* is the text of
text)``, where *id* is an article number (as a string) and *text* is the text of
...
...
Doc/library/threading.rst
Dosyayı görüntüle @
8b616113
...
@@ -255,8 +255,8 @@ daemonic, and cannot be :meth:`~Thread.join`\ ed. They are never deleted,
...
@@ -255,8 +255,8 @@ daemonic, and cannot be :meth:`~Thread.join`\ ed. They are never deleted,
since it is impossible to detect the termination of alien threads.
since it is impossible to detect the termination of alien threads.
.. class:: Thread(group=None, target=None, name=None, args=(), kwargs={},
.. class:: Thread(group=None, target=None, name=None, args=(), kwargs={},
*, \
verbose=None, *,
daemon=None)
daemon=None)
This constructor should always be called with keyword arguments. Arguments
This constructor should always be called with keyword arguments. Arguments
are:
are:
...
@@ -275,8 +275,6 @@ since it is impossible to detect the termination of alien threads.
...
@@ -275,8 +275,6 @@ since it is impossible to detect the termination of alien threads.
*kwargs* is a dictionary of keyword arguments for the target invocation.
*kwargs* is a dictionary of keyword arguments for the target invocation.
Defaults to ``{}``.
Defaults to ``{}``.
*verbose* is a flag used for debugging messages.
If not ``None``, *daemon* explicitly sets whether the thread is daemonic.
If not ``None``, *daemon* explicitly sets whether the thread is daemonic.
If ``None`` (the default), the daemonic property is inherited from the
If ``None`` (the default), the daemonic property is inherited from the
current thread.
current thread.
...
...
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