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
511747be
Unverified
Kaydet (Commit)
511747be
authored
Eki 31, 2018
tarafından
Serhiy Storchaka
Kaydeden (comit)
GitHub
Eki 31, 2018
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
bpo-35110: Fix yet few spaces before dashes. (GH-10255)
üst
c9a61689
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
configfile.rst
Doc/distutils/configfile.rst
+2
-2
optparse.rst
Doc/library/optparse.rst
+2
-2
No files found.
Doc/distutils/configfile.rst
Dosyayı görüntüle @
511747be
...
@@ -13,8 +13,8 @@ edit is a cheap and easy way to solicit it. Configuration files also let you
...
@@ -13,8 +13,8 @@ edit is a cheap and easy way to solicit it. Configuration files also let you
provide default values for any command option, which the installer can then
provide default values for any command option, which the installer can then
override either on the command-line or by editing the config file.
override either on the command-line or by editing the config file.
The setup configuration file is a useful middle-ground between the setup
script
The setup configuration file is a useful middle-ground between the setup
---which, ideally, would be opaque to installers [#]_---and the command-line to
script
---which, ideally, would be opaque to installers [#]_---and the command-line to
the setup script, which is outside of your control and entirely up to the
the setup script, which is outside of your control and entirely up to the
installer. In fact, :file:`setup.cfg` (and any other Distutils configuration
installer. In fact, :file:`setup.cfg` (and any other Distutils configuration
files present on the target system) are processed after the contents of the
files present on the target system) are processed after the contents of the
...
...
Doc/library/optparse.rst
Dosyayı görüntüle @
511747be
...
@@ -379,8 +379,8 @@ types is covered in section :ref:`optparse-extending-optparse`.
...
@@ -379,8 +379,8 @@ types is covered in section :ref:`optparse-extending-optparse`.
Handling boolean (flag) options
Handling boolean (flag) options
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Flag options---set a variable to true or false when a particular option is
seen
Flag options---set a variable to true or false when a particular option is
---are quite common. :mod:`optparse` supports them with two separate actions,
seen
---are quite common. :mod:`optparse` supports them with two separate actions,
``store_true`` and ``store_false``. For example, you might have a ``verbose``
``store_true`` and ``store_false``. For example, you might have a ``verbose``
flag that is turned on with ``-v`` and off with ``-q``::
flag that is turned on with ``-v`` and off with ``-q``::
...
...
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