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
f0177282
Kaydet (Commit)
f0177282
authored
Mar 02, 2008
tarafından
Georg Brandl
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Make patchlevel print out the release if called as a script.
üst
7f7e30ae
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
patchlevel.py
Doc/tools/sphinxext/patchlevel.py
+3
-0
No files found.
Doc/tools/sphinxext/patchlevel.py
Dosyayı görüntüle @
f0177282
...
@@ -66,3 +66,6 @@ def get_version_info():
...
@@ -66,3 +66,6 @@ def get_version_info():
print
>>
sys
.
stderr
,
'Can
\'
t get version info from Include/patchlevel.h, '
\
print
>>
sys
.
stderr
,
'Can
\'
t get version info from Include/patchlevel.h, '
\
'using version of this interpreter (
%
s).'
%
release
'using version of this interpreter (
%
s).'
%
release
return
version
,
release
return
version
,
release
if
__name__
==
'__main__'
:
print
get_header_version_info
(
'.'
)[
1
]
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