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
066b1217
Kaydet (Commit)
066b1217
authored
Eki 17, 2016
tarafından
Berker Peksag
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Sade Fark
Issue #28455: Merge from 3.5
üst
3aa75528
5493e472
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
argparse.rst
Doc/library/argparse.rst
+4
-3
No files found.
Doc/library/argparse.rst
Dosyayı görüntüle @
066b1217
...
@@ -1958,10 +1958,11 @@ Customizing file parsing
...
@@ -1958,10 +1958,11 @@ Customizing file parsing
The method is called once per line read from the argument file, in order.
The method is called once per line read from the argument file, in order.
A useful override of this method is one that treats each space-separated word
A useful override of this method is one that treats each space-separated word
as an argument::
as an argument
. The following example demonstrates how to do this
::
def convert_arg_line_to_args(self, arg_line):
class MyArgumentParser(argparse.ArgumentParser):
return arg_line.split()
def convert_arg_line_to_args(self, arg_line):
return arg_line.split()
Exiting methods
Exiting methods
...
...
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