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
60c0be3a
Kaydet (Commit)
60c0be3a
authored
Haz 13, 2008
tarafından
Georg Brandl
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Clarification.
üst
111c1806
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
optparse.rst
Doc/library/optparse.rst
+3
-3
No files found.
Doc/library/optparse.rst
Dosyayı görüntüle @
60c0be3a
...
@@ -641,9 +641,9 @@ Or, where the user fails to pass a value at all::
...
@@ -641,9 +641,9 @@ Or, where the user fails to pass a value at all::
option involved in the error; be sure to do the same when calling
option involved in the error; be sure to do the same when calling
``parser.error()`` from your application code.
``parser.error()`` from your application code.
If :mod:`optparse`'s default error-handling behaviour does not suit
e
your needs,
If :mod:`optparse`'s default error-handling behaviour does not suit your needs,
you'll need to subclass OptionParser and override
``exit()`
` and/or
you'll need to subclass OptionParser and override
its :meth:`exit
` and/or
:meth:`error`.
:meth:`error`
methods
.
.. _optparse-putting-it-all-together:
.. _optparse-putting-it-all-together:
...
...
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