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
db70d064
Kaydet (Commit)
db70d064
authored
Kas 17, 1998
tarafından
Fred Drake
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Eliminate remaining \verb/.../ constructs; there's no need for them.
üst
014e0e29
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
tut.tex
Doc/tut/tut.tex
+3
-3
No files found.
Doc/tut/tut.tex
Dosyayı görüntüle @
db70d064
...
...
@@ -2367,16 +2367,16 @@ Sjoerd ==> 4127
Most formats work exactly as in
\C
{}
and require that you pass the proper
type; however, if you don't you get an exception, not a core dump.
The
\
verb
\
%s
\
format is more relaxed: if the corresponding argument is
The
\
code
{
\%
s
}
format is more relaxed: if the corresponding argument is
not a string object, it is converted to string using the
\function
{
str()
}
built-in function. Using
\code
{
*
}
to pass the width
or precision in as a separate (integer) argument is supported. The
\C
{}
formats
\
verb
\
%n
\
and
\verb
\
%p
\
are not supported.
\C
{}
formats
\
code
{
\%
n
}
and
\code
{
\%
p
}
are not supported.
If you have a really long format string that you don't want to split
up, it would be nice if you could reference the variables to be
formatted by name instead of by position. This can be done by using
an extension of
\C
{}
formats using the form
\
verb
\
%(name)format
\
, e.g.
an extension of
\C
{}
formats using the form
\
code
{
\%
(name)format
}
, e.g.
\begin{verbatim}
>>> table =
{
'Sjoerd': 4127, 'Jack': 4098, 'Dcab': 8637678
}
...
...
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