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
2f401d71
Kaydet (Commit)
2f401d71
authored
Mar 23, 2007
tarafından
Martin v. Löwis
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Patch #1686451: Fix return type for PySequence_{Count,Index,Fast_GET_SIZE}.
Will backport.
üst
eff49dce
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
3 deletions
+6
-3
abstract.tex
Doc/api/abstract.tex
+3
-3
NEWS
Misc/NEWS
+3
-0
No files found.
Doc/api/abstract.tex
Dosyayı görüntüle @
2f401d71
...
@@ -810,7 +810,7 @@ determination.
...
@@ -810,7 +810,7 @@ determination.
the Python statement
\samp
{
del
\var
{
o
}
[
\var
{
i1
}
:
\var
{
i2
}
]
}
.
the Python statement
\samp
{
del
\var
{
o
}
[
\var
{
i1
}
:
\var
{
i2
}
]
}
.
\end{cfuncdesc}
\end{cfuncdesc}
\begin{cfuncdesc}
{
in
t
}{
PySequence
_
Count
}{
PyObject *o, PyObject *value
}
\begin{cfuncdesc}
{
Py
_
ssize
_
t
}{
PySequence
_
Count
}{
PyObject *o, PyObject *value
}
Return the number of occurrences of
\var
{
value
}
in
\var
{
o
}
, that is,
Return the number of occurrences of
\var
{
value
}
in
\var
{
o
}
, that is,
return the number of keys for which
\code
{
\var
{
o
}
[
\var
{
key
}
] ==
return the number of keys for which
\code
{
\var
{
o
}
[
\var
{
key
}
] ==
\var
{
value
}}
. On failure, return
\code
{
-1
}
. This is equivalent to
\var
{
value
}}
. On failure, return
\code
{
-1
}
. This is equivalent to
...
@@ -824,7 +824,7 @@ determination.
...
@@ -824,7 +824,7 @@ determination.
expression
\samp
{
\var
{
value
}
in
\var
{
o
}}
.
expression
\samp
{
\var
{
value
}
in
\var
{
o
}}
.
\end{cfuncdesc}
\end{cfuncdesc}
\begin{cfuncdesc}
{
in
t
}{
PySequence
_
Index
}{
PyObject *o, PyObject *value
}
\begin{cfuncdesc}
{
Py
_
ssize
_
t
}{
PySequence
_
Index
}{
PyObject *o, PyObject *value
}
Return the first index
\var
{
i
}
for which
\code
{
\var
{
o
}
[
\var
{
i
}
] ==
Return the first index
\var
{
i
}
for which
\code
{
\var
{
o
}
[
\var
{
i
}
] ==
\var
{
value
}}
. On error, return
\code
{
-1
}
. This is equivalent to
\var
{
value
}}
. On error, return
\code
{
-1
}
. This is equivalent to
the Python expression
\samp
{
\var
{
o
}
.index(
\var
{
value
}
)
}
.
the Python expression
\samp
{
\var
{
o
}
.index(
\var
{
value
}
)
}
.
...
@@ -874,7 +874,7 @@ determination.
...
@@ -874,7 +874,7 @@ determination.
\versionadded
{
2.3
}
\versionadded
{
2.3
}
\end{cfuncdesc}
\end{cfuncdesc}
\begin{cfuncdesc}
{
in
t
}{
PySequence
_
Fast
_
GET
_
SIZE
}{
PyObject *o
}
\begin{cfuncdesc}
{
Py
_
ssize
_
t
}{
PySequence
_
Fast
_
GET
_
SIZE
}{
PyObject *o
}
Returns the length of
\var
{
o
}
, assuming that
\var
{
o
}
was
Returns the length of
\var
{
o
}
, assuming that
\var
{
o
}
was
returned by
\cfunction
{
PySequence
_
Fast()
}
and that
\var
{
o
}
is
returned by
\cfunction
{
PySequence
_
Fast()
}
and that
\var
{
o
}
is
not
\NULL
. The size can also be gotten by calling
not
\NULL
. The size can also be gotten by calling
...
...
Misc/NEWS
Dosyayı görüntüle @
2f401d71
...
@@ -711,6 +711,9 @@ Tools
...
@@ -711,6 +711,9 @@ Tools
Documentation
Documentation
-------------
-------------
- Patch #1686451: Fix return type for
PySequence_{Count,Index,Fast_GET_SIZE}.
- Patch #1679379: add documentation for fnmatch.translate().
- Patch #1679379: add documentation for fnmatch.translate().
- Bug #1629566: clarify the docs on the return values of parsedate()
- Bug #1629566: clarify the docs on the return values of parsedate()
...
...
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