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
dddec81b
Kaydet (Commit)
dddec81b
authored
Kas 16, 2016
tarafından
Serhiy Storchaka
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Issue #21449: Removed private function _PyUnicode_CompareWithId.
üst
fab6acd9
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
18 deletions
+0
-18
unicodeobject.h
Include/unicodeobject.h
+0
-9
unicodeobject.c
Objects/unicodeobject.c
+0
-9
No files found.
Include/unicodeobject.h
Dosyayı görüntüle @
dddec81b
...
@@ -2037,15 +2037,6 @@ PyAPI_FUNC(int) PyUnicode_Compare(
...
@@ -2037,15 +2037,6 @@ PyAPI_FUNC(int) PyUnicode_Compare(
);
);
#ifndef Py_LIMITED_API
#ifndef Py_LIMITED_API
/* Compare a string with an identifier and return -1, 0, 1 for less than,
equal, and greater than, respectively.
Raise an exception and return -1 on error. */
PyAPI_FUNC
(
int
)
_PyUnicode_CompareWithId
(
PyObject
*
left
,
/* Left string */
_Py_Identifier
*
right
/* Right identifier */
);
/* Test whether a unicode is equal to ASCII identifier. Return 1 if true,
/* Test whether a unicode is equal to ASCII identifier. Return 1 if true,
0 otherwise. Return 0 if any argument contains non-ASCII characters.
0 otherwise. Return 0 if any argument contains non-ASCII characters.
Any error occurs inside will be cleared before return. */
Any error occurs inside will be cleared before return. */
...
...
Objects/unicodeobject.c
Dosyayı görüntüle @
dddec81b
...
@@ -11011,15 +11011,6 @@ PyUnicode_Compare(PyObject *left, PyObject *right)
...
@@ -11011,15 +11011,6 @@ PyUnicode_Compare(PyObject *left, PyObject *right)
return -1;
return -1;
}
}
int
_PyUnicode_CompareWithId(PyObject *left, _Py_Identifier *right)
{
PyObject *right_str = _PyUnicode_FromId(right); /* borrowed */
if (right_str == NULL)
return -1;
return PyUnicode_Compare(left, right_str);
}
int
int
PyUnicode_CompareWithASCIIString(PyObject* uni, const char* str)
PyUnicode_CompareWithASCIIString(PyObject* uni, const char* str)
{
{
...
...
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