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
2677faec
Kaydet (Commit)
2677faec
authored
Eki 31, 2014
tarafından
Georg Brandl
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
#22613: document Cmd.cmdqueue (thanks Jacques Ducasse)
üst
717e0289
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletion
+8
-1
cmd.rst
Doc/library/cmd.rst
+8
-1
No files found.
Doc/library/cmd.rst
Dosyayı görüntüle @
2677faec
...
@@ -148,8 +148,8 @@ A :class:`Cmd` instance has the following methods:
...
@@ -148,8 +148,8 @@ A :class:`Cmd` instance has the following methods:
Hook method executed once when :meth:`cmdloop` is about to return. This method
Hook method executed once when :meth:`cmdloop` is about to return. This method
is a stub in :class:`Cmd`; it exists to be overridden by subclasses.
is a stub in :class:`Cmd`; it exists to be overridden by subclasses.
Instances of :class:`Cmd` subclasses have some public instance variables:
Instances of :class:`Cmd` subclasses have some public instance variables:
.. attribute:: Cmd.prompt
.. attribute:: Cmd.prompt
...
@@ -166,6 +166,13 @@ Instances of :class:`Cmd` subclasses have some public instance variables:
...
@@ -166,6 +166,13 @@ Instances of :class:`Cmd` subclasses have some public instance variables:
The last nonempty command prefix seen.
The last nonempty command prefix seen.
.. attribute:: Cmd.cmdqueue
A list of queued input lines. The cmdqueue list is checked in
:meth:`cmdloop` when new input is needed; if it is nonempty, its elements
will be processed in order, as if entered at the prompt.
.. attribute:: Cmd.intro
.. attribute:: Cmd.intro
A string to issue as an intro or banner. May be overridden by giving the
A string to issue as an intro or banner. May be overridden by giving the
...
...
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