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
27c430e5
Kaydet (Commit)
27c430e5
authored
Tem 30, 2001
tarafından
Martin v. Löwis
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Patch #445538: add completion for pstats.py sort cmd.
üst
a1fd0505
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
pstats.py
Lib/pstats.py
+2
-0
No files found.
Lib/pstats.py
Dosyayı görüntüle @
27c430e5
...
@@ -640,6 +640,8 @@ if __name__ == '__main__':
...
@@ -640,6 +640,8 @@ if __name__ == '__main__':
def
help_sort
(
self
):
def
help_sort
(
self
):
print
"Sort profile data according to specified keys."
print
"Sort profile data according to specified keys."
print
"(Typing `sort' without arguments lists valid keys.)"
print
"(Typing `sort' without arguments lists valid keys.)"
def
complete_sort
(
self
,
text
,
*
args
):
return
[
a
for
a
in
Stats
.
sort_arg_dict_default
.
keys
()
if
a
.
startswith
(
text
)]
def
do_stats
(
self
,
line
):
def
do_stats
(
self
,
line
):
return
self
.
generic
(
'print_stats'
,
line
)
return
self
.
generic
(
'print_stats'
,
line
)
...
...
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