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
132fa373
Kaydet (Commit)
132fa373
authored
Haz 11, 2003
tarafından
Raymond Hettinger
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Add docs for get_grouped_opcodes().
üst
807413d3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
2 deletions
+17
-2
libdifflib.tex
Doc/lib/libdifflib.tex
+17
-2
No files found.
Doc/lib/libdifflib.tex
Dosyayı görüntüle @
132fa373
...
...
@@ -81,7 +81,9 @@
\function
{
time.ctime()
}
. If not specified, the strings default to blanks.
\file
{
Tools/scripts/diff.py
}
is a command-line front-end for this
function.
function.
\versionadded
{
2.3
}
\end{funcdesc}
\begin{funcdesc}
{
get
_
close
_
matches
}{
word, possibilities
\optional
{
,
...
...
@@ -212,7 +214,9 @@ emu
\function
{
time.ctime()
}
. If not specified, the strings default to blanks.
\file
{
Tools/scripts/diff.py
}
is a command-line front-end for this
function.
function.
\versionadded
{
2.3
}
\end{funcdesc}
\begin{funcdesc}
{
IS
_
LINE
_
JUNK
}{
line
}
...
...
@@ -397,6 +401,17 @@ replace a[3:4] (x) b[2:3] (y)
\end{verbatim}
\end{methoddesc}
\begin{methoddesc}
{
get
_
grouped
_
opcodes
}{
\optional
{
n
}}
Return a generator of groups with up to
\var
{
n
}
lines of context.
Starting with the groups returned by
\method
{
get
_
opcodes()
}
,
this method splits out smaller change clusters and eliminates
intervening ranges which have no changes.
The groups are returned in the same format as
\method
{
get
_
opcodes()
}
.
\versionadded
{
2.3
}
\end{methoddesc}
\begin{methoddesc}
{
ratio
}{}
Return a measure of the sequences' similarity as a float in the
range [0, 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