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
27f550cd
Kaydet (Commit)
27f550cd
authored
Nis 22, 1999
tarafından
Guido van Rossum
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Nits: document use of $IDLESTARTUP; display idle version
üst
fcf94d4e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
PyShell.py
Tools/idle/PyShell.py
+5
-3
No files found.
Tools/idle/PyShell.py
Dosyayı görüntüle @
27f550cd
...
@@ -16,6 +16,7 @@ from EditorWindow import EditorWindow, fixwordbreaks
...
@@ -16,6 +16,7 @@ from EditorWindow import EditorWindow, fixwordbreaks
from
FileList
import
FileList
from
FileList
import
FileList
from
ColorDelegator
import
ColorDelegator
from
ColorDelegator
import
ColorDelegator
from
OutputWindow
import
OutputWindow
from
OutputWindow
import
OutputWindow
import
idlever
# We need to patch linecache.checkcache, because we don't want it
# We need to patch linecache.checkcache, because we don't want it
# to throw away our <pyshell#...> entries.
# to throw away our <pyshell#...> entries.
...
@@ -406,8 +407,9 @@ class PyShell(OutputWindow):
...
@@ -406,8 +407,9 @@ class PyShell(OutputWindow):
def
begin
(
self
):
def
begin
(
self
):
self
.
resetoutput
()
self
.
resetoutput
()
self
.
write
(
"Python
%
s on
%
s
\n
%
s
\n
"
%
self
.
write
(
"Python
%
s on
%
s
\n
%
s
\n
IDLE
%
s
\n
"
%
(
sys
.
version
,
sys
.
platform
,
sys
.
copyright
))
(
sys
.
version
,
sys
.
platform
,
sys
.
copyright
,
idlever
.
IDLE_VERSION
))
try
:
try
:
sys
.
ps1
sys
.
ps1
except
AttributeError
:
except
AttributeError
:
...
@@ -639,7 +641,7 @@ usage: idle.py [-c command] [-d] [-e] [-s] [-t title] [arg] ...
...
@@ -639,7 +641,7 @@ usage: idle.py [-c command] [-d] [-e] [-s] [-t title] [arg] ...
-c command run this command
-c command run this command
-d enable debugger
-d enable debugger
-e edit mode; arguments are files to be edited
-e edit mode; arguments are files to be edited
-s run $PYTHONSTARTUP before anything else
-s run $
IDLESTARTUP or $
PYTHONSTARTUP before anything else
-t title set title of shell window
-t title set title of shell window
When neither -c nor -e is used, and there are arguments, and the first
When neither -c nor -e is used, and there are arguments, and the first
...
...
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