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
90876885
Kaydet (Commit)
90876885
authored
Agu 21, 2000
tarafından
Barry Warsaw
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Describe the new PRINT_ITEM_TO and PRINT_NEWLINE_TO opcodes.
üst
203da6df
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
2 deletions
+12
-2
libdis.tex
Doc/lib/libdis.tex
+12
-2
No files found.
Doc/lib/libdis.tex
Dosyayı görüntüle @
90876885
...
...
@@ -277,8 +277,13 @@ expression statement is terminated with \code{POP_STACK}.
\end{opcodedesc}
\begin{opcodedesc}
{
PRINT
_
ITEM
}{}
Prints TOS. There is one such instruction for
each item in the
\keyword
{
print
}
statement.
Prints TOS to the file-like object bound to
\code
{
sys.stdout
}
. There
is one such instruction for each item in the
\keyword
{
print
}
statement.
\end{opcodedesc}
\begin{opcodedesc}
{
PRINT
_
ITEM
_
TO
}{}
Like
\code
{
PRINT
_
ITEM
}
, but prints the item second from TOS to the
file-like object at TOS. This is used by the extended print statement.
\end{opcodedesc}
\begin{opcodedesc}
{
PRINT
_
NEWLINE
}{}
...
...
@@ -287,6 +292,11 @@ last operation of a \keyword{print} statement, unless the statement
ends with a comma.
\end{opcodedesc}
\begin{opcodedesc}
{
PRINT
_
NEWLINE
_
TO
}{}
Like
\code
{
PRINT
_
NEWLINE
}
, but prints the new line on the file-like
object on the TOS. This is used by the extended print statement.
\end{opcodedesc}
\begin{opcodedesc}
{
BREAK
_
LOOP
}{}
Terminates a loop due to a
\keyword
{
break
}
statement.
\end{opcodedesc}
...
...
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