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
60e1886e
Kaydet (Commit)
60e1886e
authored
Tem 10, 2001
tarafından
Barry Warsaw
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
__version__: Bump to 1.2
De-string-module-ification.
üst
95cf9d9f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
6 deletions
+8
-6
Main.py
Tools/pynche/Main.py
+8
-6
No files found.
Tools/pynche/Main.py
Dosyayı görüntüle @
60e1886e
...
...
@@ -46,16 +46,15 @@ Where:
initialcolor
initial color, as a color name or #RRGGBB format
"""
__version__
=
'1.
1
'
__version__
=
'1.
2
'
import
sys
import
os
import
string
import
getopt
import
ColorDB
from
PyncheWidget
import
PyncheWidget
from
Switchboard
import
Switchboard
from
StripViewer
import
StripViewer
...
...
@@ -79,15 +78,17 @@ RGB_TXT = [
# Do this because PyncheWidget.py wants to get at the interpolated docstring
# too, for its Help menu.
def
docstring
():
return
string
.
rstrip
(
__doc__
%
globals
()
)
return
__doc__
%
globals
(
)
def
usage
(
status
,
msg
=
''
):
def
usage
(
code
,
msg
=
''
):
print
docstring
()
if
msg
:
print
msg
sys
.
exit
(
status
)
sys
.
exit
(
code
)
...
...
@@ -217,6 +218,7 @@ Version: %s''' % __version__
run
(
app
,
sb
)
sb
.
save_views
()
if
__name__
==
'__main__'
:
main
()
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