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
e5d68ace
Kaydet (Commit)
e5d68ace
authored
Haz 04, 2008
tarafından
Georg Brandl
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Fix misspelling.
üst
f342bfcb
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
conversion.rst
Doc/c-api/conversion.rst
+2
-2
bytearrayobject.c
Objects/bytearrayobject.c
+1
-1
bytesobject.c
Objects/bytesobject.c
+1
-1
No files found.
Doc/c-api/conversion.rst
Dosyayı görüntüle @
e5d68ace
...
@@ -83,11 +83,11 @@ The following functions provide locale-independent string to number conversions.
...
@@ -83,11 +83,11 @@ The following functions provide locale-independent string to number conversions.
.. cfunction:: char * PyOS_stricmp(char *s1, char *s2)
.. cfunction:: char * PyOS_stricmp(char *s1, char *s2)
Case insensitive compar
si
on of strings. The functions works almost
Case insensitive compar
is
on of strings. The functions works almost
identical to :cfunc:`strcmp` except that it ignores the case.
identical to :cfunc:`strcmp` except that it ignores the case.
.. cfunction:: char * PyOS_strnicmp(char *s1, char *s2, Py_ssize_t size)
.. cfunction:: char * PyOS_strnicmp(char *s1, char *s2, Py_ssize_t size)
Case insensitive compar
si
on of strings. The functions works almost
Case insensitive compar
is
on of strings. The functions works almost
identical to :cfunc:`strncmp` except that it ignores the case.
identical to :cfunc:`strncmp` except that it ignores the case.
Objects/bytearrayobject.c
Dosyayı görüntüle @
e5d68ace
...
@@ -947,7 +947,7 @@ bytes_richcompare(PyObject *self, PyObject *other, int op)
...
@@ -947,7 +947,7 @@ bytes_richcompare(PyObject *self, PyObject *other, int op)
PyObject_IsInstance
(
other
,
(
PyObject
*
)
&
PyUnicode_Type
))
{
PyObject_IsInstance
(
other
,
(
PyObject
*
)
&
PyUnicode_Type
))
{
if
(
Py_BytesWarningFlag
&&
op
==
Py_EQ
)
{
if
(
Py_BytesWarningFlag
&&
op
==
Py_EQ
)
{
if
(
PyErr_WarnEx
(
PyExc_BytesWarning
,
if
(
PyErr_WarnEx
(
PyExc_BytesWarning
,
"Compar
si
on between bytearray and string"
,
1
))
"Compar
is
on between bytearray and string"
,
1
))
return
NULL
;
return
NULL
;
}
}
...
...
Objects/bytesobject.c
Dosyayı görüntüle @
e5d68ace
...
@@ -818,7 +818,7 @@ string_richcompare(PyBytesObject *a, PyBytesObject *b, int op)
...
@@ -818,7 +818,7 @@ string_richcompare(PyBytesObject *a, PyBytesObject *b, int op)
PyObject_IsInstance
((
PyObject
*
)
b
,
PyObject_IsInstance
((
PyObject
*
)
b
,
(
PyObject
*
)
&
PyUnicode_Type
)))
{
(
PyObject
*
)
&
PyUnicode_Type
)))
{
if
(
PyErr_WarnEx
(
PyExc_BytesWarning
,
if
(
PyErr_WarnEx
(
PyExc_BytesWarning
,
"Compar
si
on between bytes and string"
,
1
))
"Compar
is
on between bytes and string"
,
1
))
return
NULL
;
return
NULL
;
}
}
result
=
Py_NotImplemented
;
result
=
Py_NotImplemented
;
...
...
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