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
ff00fdae
Kaydet (Commit)
ff00fdae
authored
Haz 23, 2001
tarafından
Eric S. Raymond
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Correct erroneous description of precmd.
üst
ad1a18b7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
libcmd.tex
Doc/lib/libcmd.tex
+6
-2
No files found.
Doc/lib/libcmd.tex
Dosyayı görüntüle @
ff00fdae
...
@@ -73,7 +73,8 @@ error message and returns.
...
@@ -73,7 +73,8 @@ error message and returns.
\end{methoddesc}
\end{methoddesc}
\begin{methoddesc}
{
precmd
}{}
\begin{methoddesc}
{
precmd
}{}
Hook method executed just before the input prompt is issued. This
Hook method executed just before the command line is interpreted, but
after the input prompt is generated and issued. This
method is a stub in
\class
{
Cmd
}
; it exists to be overridden by
method is a stub in
\class
{
Cmd
}
; it exists to be overridden by
subclasses.
subclasses.
\end{methoddesc}
\end{methoddesc}
...
@@ -142,5 +143,8 @@ headers. If empty, no ruler line is drawn. It defaults to
...
@@ -142,5 +143,8 @@ headers. If empty, no ruler line is drawn. It defaults to
A flag, defaulting to true. If true,
\method
{
cmdloop()
}
uses
A flag, defaulting to true. If true,
\method
{
cmdloop()
}
uses
\function
{
raw
_
input()
}
to display a prompt and read the next command;
\function
{
raw
_
input()
}
to display a prompt and read the next command;
if false,
\function
{
sys.stdout.write()
}
and
if false,
\function
{
sys.stdout.write()
}
and
\function
{
sys.stdin.readline()
}
are used.
\function
{
sys.stdin.readline()
}
are used. (This means that by
importing
\module
{
readline
}
, on systems that support it, the
interpreter will automatically support Emacs-like line editing
and command-history keystrokes.)
\end{memberdesc}
\end{memberdesc}
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