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
18ddf826
Kaydet (Commit)
18ddf826
authored
Eyl 01, 2011
tarafından
Éric Araujo
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Add links from library/functions to other docs.
Suggested by Terry J. Reedy in #12298.
üst
9edd9f03
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
6 deletions
+11
-6
functions.rst
Doc/library/functions.rst
+7
-6
stdtypes.rst
Doc/library/stdtypes.rst
+4
-0
No files found.
Doc/library/functions.rst
Dosyayı görüntüle @
18ddf826
...
...
@@ -83,11 +83,12 @@ are always available. They are listed here in alphabetical order.
.. function:: bool([x])
Convert a value to a Boolean, using the standard truth testing procedure. If
*x* is false or omitted, this returns :const:`False`; otherwise it returns
:const:`True`. :class:`bool` is also a class, which is a subclass of
:class:`int`. Class :class:`bool` cannot be subclassed further. Its only
instances are :const:`False` and :const:`True`.
Convert a value to a Boolean, using the standard :ref:`truth testing
procedure <truth>`. If *x* is false or omitted, this returns ``False``;
otherwise it returns ``True``. :class:`bool` is also a class, which is a
subclass of :class:`int` (see :ref:`typesnumeric`). Class :class:`bool`
cannot be subclassed further. Its only instances are ``False`` and
``True`` (see :ref:`bltin-boolean-values`).
.. index:: pair: Boolean; type
...
...
@@ -1055,7 +1056,7 @@ are always available. They are listed here in alphabetical order.
Range objects implement the :class:`collections.Sequence` ABC, and provide
features such as containment tests, element index lookup, slicing and
support for negative indices:
support for negative indices
(see :ref:`typesseq`)
:
>>> r = range(0, 20, 2)
>>> r
...
...
Doc/library/stdtypes.rst
Dosyayı görüntüle @
18ddf826
...
...
@@ -2712,6 +2712,8 @@ special operations. There is exactly one ellipsis object, named
It is written as ``Ellipsis`` or ``...``.
.. _bltin-notimplemented-object:
The NotImplemented Object
-------------------------
...
...
@@ -2722,6 +2724,8 @@ information.
It is written as ``NotImplemented``.
.. _bltin-boolean-values:
Boolean Values
--------------
...
...
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