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
d29d0393
Kaydet (Commit)
d29d0393
authored
May 10, 2015
tarafından
doko@ubuntu.com
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
- Do not italicize punctuation in the python man page
üst
ddc6171b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
python.man
Misc/python.man
+6
-6
No files found.
Misc/python.man
Dosyayı görüntüle @
d29d0393
...
@@ -289,9 +289,9 @@ executes a
...
@@ -289,9 +289,9 @@ executes a
from that file;
from that file;
when called with
when called with
.B \-c
.B \-c
.I
command
,
.I
R command
,
it executes the Python statement(s) given as
it executes the Python statement(s) given as
.I
command
.
.I
R command
.
Here
Here
.I command
.I command
may contain multiple statements separated by newlines.
may contain multiple statements separated by newlines.
...
@@ -301,7 +301,7 @@ executed.
...
@@ -301,7 +301,7 @@ executed.
.PP
.PP
If available, the script name and additional arguments thereafter are
If available, the script name and additional arguments thereafter are
passed to the script in the Python variable
passed to the script in the Python variable
.I sys.argv ,
.I
R
sys.argv ,
which is a list of strings (you must first
which is a list of strings (you must first
.I import sys
.I import sys
to be able to access it).
to be able to access it).
...
@@ -315,14 +315,14 @@ contains the string
...
@@ -315,14 +315,14 @@ contains the string
.I '-c'.
.I '-c'.
Note that options interpreted by the Python interpreter itself
Note that options interpreted by the Python interpreter itself
are not placed in
are not placed in
.I
sys.argv
.
.I
R sys.argv
.
.PP
.PP
In interactive mode, the primary prompt is `>>>'; the second prompt
In interactive mode, the primary prompt is `>>>'; the second prompt
(which appears when a command is not complete) is `...'.
(which appears when a command is not complete) is `...'.
The prompts can be changed by assignment to
The prompts can be changed by assignment to
.I sys.ps1
.I sys.ps1
or
or
.I
sys.ps2
.
.I
R sys.ps2
.
The interpreter quits when it reads an EOF at a prompt.
The interpreter quits when it reads an EOF at a prompt.
When an unhandled exception occurs, a stack trace is printed and
When an unhandled exception occurs, a stack trace is printed and
control returns to the primary prompt; in non-interactive mode, the
control returns to the primary prompt; in non-interactive mode, the
...
@@ -381,7 +381,7 @@ If a script argument is given, the directory containing the script is
...
@@ -381,7 +381,7 @@ If a script argument is given, the directory containing the script is
inserted in the path in front of $PYTHONPATH.
inserted in the path in front of $PYTHONPATH.
The search path can be manipulated from within a Python program as the
The search path can be manipulated from within a Python program as the
variable
variable
.I sys.path .
.I
R
sys.path .
.IP PYTHONSTARTUP
.IP PYTHONSTARTUP
If this is the name of a readable file, the Python commands in that
If this is the name of a readable file, the Python commands in that
file are executed before the first prompt is displayed in interactive
file are executed before the first prompt is displayed in interactive
...
...
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