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
118c5577
Kaydet (Commit)
118c5577
authored
Mar 21, 2010
tarafından
Georg Brandl
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Fix some issues found by Jacques Ducasse on the docs list.
üst
07627880
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
9 deletions
+10
-9
functions.rst
Doc/library/functions.rst
+3
-2
pdb.rst
Doc/library/pdb.rst
+1
-1
stdtypes.rst
Doc/library/stdtypes.rst
+6
-6
No files found.
Doc/library/functions.rst
Dosyayı görüntüle @
118c5577
...
...
@@ -339,7 +339,7 @@ available. They are listed here in alphabetical order.
This function can also be used to execute arbitrary code objects (such as
those created by :func:`compile`). In this case pass a code object instead
of a string. If the code object has been compiled with ``'exec'`` as the
*
kind
* argument, :func:`eval`\'s return value will be ``None``.
*
mode
* argument, :func:`eval`\'s return value will be ``None``.
Hints: dynamic execution of statements is supported by the :keyword:`exec`
statement. Execution of statements from a file is supported by the
...
...
@@ -1145,7 +1145,8 @@ available. They are listed here in alphabetical order.
value is ``None``.
*key* specifies a function of one argument that is used to extract a comparison
key from each list element: ``key=str.lower``. The default value is ``None``.
key from each list element: ``key=str.lower``. The default value is ``None``
(compare the elements directly).
*reverse* is a boolean value. If set to ``True``, then the list elements are
sorted as if each comparison were reversed.
...
...
Doc/library/pdb.rst
Dosyayı görüntüle @
118c5577
...
...
@@ -22,7 +22,7 @@ supports post-mortem debugging and can be called under program control.
The debugger is extensible --- it is actually defined as the class :class:`Pdb`.
This is currently undocumented but easily understood by reading the source. The
extension interface uses the modules :mod:`bdb`
(undocumented)
and :mod:`cmd`.
extension interface uses the modules :mod:`bdb` and :mod:`cmd`.
The debugger's prompt is ``(Pdb)``. Typical usage to run a program under control
of the debugger is::
...
...
Doc/library/stdtypes.rst
Dosyayı görüntüle @
118c5577
...
...
@@ -918,12 +918,12 @@ string functions based on regular expressions.
.. method:: str.format(*args, **kwargs)
Perform a string formatting operation. The
*format_string* argument can
c
ontain literal text or replacement fields delimited by braces ``{}``. Each
replacement field contains either the numeric index of a positional argument,
or the name of a keyword argument. Returns a copy of *format_string* where
each replacement field is replaced with the string value of the corresponding
argument.
Perform a string formatting operation. The
string on which this method is
c
alled can contain literal text or replacement fields delimited by braces
``{}``. Each replacement field contains either the numeric index of a
positional argument, or the name of a keyword argument. Returns a copy of
the string where each replacement field is replaced with the string value of
the corresponding
argument.
>>> "The sum of 1 + 2 is {0}".format(1+2)
'The sum of 1 + 2 is 3'
...
...
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