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
78c85aed
Kaydet (Commit)
78c85aed
authored
May 25, 2005
tarafından
Fred Drake
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
update documentation on what constitutes a line in a source file
(closes SF bug #1167922)
üst
2b2bac85
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
5 deletions
+12
-5
ref2.tex
Doc/ref/ref2.tex
+12
-5
No files found.
Doc/ref/ref2.tex
Dosyayı görüntüle @
78c85aed
...
@@ -54,11 +54,18 @@ by following the explicit or implicit \emph{line joining} rules.
...
@@ -54,11 +54,18 @@ by following the explicit or implicit \emph{line joining} rules.
\subsection
{
Physical lines
\label
{
physical
}}
\subsection
{
Physical lines
\label
{
physical
}}
A physical line ends in whatever the current platform's convention is
A physical line is a sequence of characters terminated by an end-of-line
for terminating lines. On
\UNIX
, this is the
\ASCII
{}
LF (linefeed)
sequence. In source files, any of the standard platform line
character. On Windows, it is the
\ASCII
{}
sequence CR LF (return
termination sequences can be used - the
\UNIX
form using
\ASCII
{}
LF
followed by linefeed). On Macintosh, it is the
\ASCII
{}
CR (return)
(linefeed), the Windows form using the
\ASCII
{}
sequence CR LF (return
character.
followed by linefeed), or the Macintosh form using the
\ASCII
{}
CR
(return) character. All of these forms can be used equally, regardless
of platform.
When embedding Python, source code strings should be passed to Python
APIs using the standard C conventions for newline characters (the
\code
{
\e
n
}
character, representing
\ASCII
{}
LF, is the line
terminator).
\subsection
{
Comments
\label
{
comments
}}
\subsection
{
Comments
\label
{
comments
}}
...
...
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