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
20006b2d
Kaydet (Commit)
20006b2d
authored
Tem 02, 2001
tarafından
Fred Drake
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Marked the parameters to Stats.print_*() as optional.
This closes SF bug #438032.
üst
df781e6a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
libprofile.tex
Doc/lib/libprofile.tex
+3
-3
No files found.
Doc/lib/libprofile.tex
Dosyayı görüntüle @
20006b2d
...
...
@@ -449,7 +449,7 @@ now that ascending vs descending order is properly selected based on
the sort key of choice.
\end{methoddesc}
\begin{methoddesc}
[Stats]
{
print
_
stats
}{
restriction
\optional
{
, ...
}}
\begin{methoddesc}
[Stats]
{
print
_
stats
}{
\optional
{
restriction,
\moreargs
}}
This method for the
\class
{
Stats
}
class prints out a report as described
in the
\function
{
profile.run()
}
definition.
...
...
@@ -484,7 +484,7 @@ and then proceed to only print the first 10\% of them.
\end{methoddesc}
\begin{methoddesc}
[Stats]
{
print
_
callers
}{
restrictions
\optional
{
, ...
}}
\begin{methoddesc}
[Stats]
{
print
_
callers
}{
\optional
{
restriction,
\moreargs
}}
This method for the
\class
{
Stats
}
class prints a list of all functions
that called each function in the profiled database. The ordering is
identical to that provided by
\method
{
print
_
stats()
}
, and the definition
...
...
@@ -494,7 +494,7 @@ times this specific call was made. A second non-parenthesized number
is the cumulative time spent in the function at the right.
\end{methoddesc}
\begin{methoddesc}
[Stats]
{
print
_
callees
}{
restrictions
\optional
{
, ...
}}
\begin{methoddesc}
[Stats]
{
print
_
callees
}{
\optional
{
restriction,
\moreargs
}}
This method for the
\class
{
Stats
}
class prints a list of all function
that were called by the indicated function. Aside from this reversal
of direction of calls (re: called vs was called by), the arguments and
...
...
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