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
1ce3a686
Kaydet (Commit)
1ce3a686
authored
Agu 03, 2010
tarafından
Georg Brandl
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Fix 2.7ism.
üst
c438d1d0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
7 deletions
+4
-7
constants.rst
Doc/library/constants.rst
+4
-7
No files found.
Doc/library/constants.rst
Dosyayı görüntüle @
1ce3a686
...
@@ -42,17 +42,14 @@ A small number of constants live in the built-in namespace. They are:
...
@@ -42,17 +42,14 @@ A small number of constants live in the built-in namespace. They are:
.. data:: __debug__
.. data:: __debug__
This constant is true if Python was not started with an :option:`-O` option.
This constant is true if Python was not started with an :option:`-O` option.
See also the :keyword:`assert` statement.
It cannot be reassigned.
See also the :keyword:`assert` statement.
.. note::
.. note::
The names :data:`None` and :data:`__debug__` cannot be reassigned
The name :data:`None` cannot be reassigned (assignments to it, even as an
(assignments to them, even as an attribute name, raise :exc:`SyntaxError`),
attribute name, raise :exc:`SyntaxError`), so it can be considered a "true"
so they can be considered "true" constants.
constant.
.. versionchanged:: 2.7
Assignments to ``__debug__`` as an attribute became illegal.
Constants added by the :mod:`site` module
Constants added by the :mod:`site` module
...
...
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