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
9cd1e09d
Kaydet (Commit)
9cd1e09d
authored
Agu 31, 2007
tarafından
Eric Smith
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Removed unicode_format and unicode__format__, they just called through to other functions.
üst
610cee3e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
19 deletions
+2
-19
unicodeobject.c
Objects/unicodeobject.c
+2
-19
No files found.
Objects/unicodeobject.c
Dosyayı görüntüle @
9cd1e09d
...
...
@@ -7930,28 +7930,11 @@ PyDoc_STRVAR(format__doc__,
\n
\
"
);
static
PyObject
*
unicode_format
(
PyObject
*
self
,
PyObject
*
args
,
PyObject
*
kwds
)
{
/* this calls into stringlib/string_format.h because it can be
included for either string or unicode. this is needed for
python 2.6. */
return
do_string_format
(
self
,
args
,
kwds
);
}
PyDoc_STRVAR
(
p_format__doc__
,
"S.__format__(format_spec) -> unicode
\n
\
\n
\
"
);
static
PyObject
*
unicode__format__
(
PyObject
*
self
,
PyObject
*
args
)
{
return
unicode_unicode__format__
(
self
,
args
);
}
static
PyObject
*
unicode_getnewargs
(
PyUnicodeObject
*
v
)
{
...
...
@@ -8003,8 +7986,8 @@ static PyMethodDef unicode_methods[] = {
{
"isalnum"
,
(
PyCFunction
)
unicode_isalnum
,
METH_NOARGS
,
isalnum__doc__
},
{
"isidentifier"
,
(
PyCFunction
)
unicode_isidentifier
,
METH_NOARGS
,
isidentifier__doc__
},
{
"zfill"
,
(
PyCFunction
)
unicode_zfill
,
METH_VARARGS
,
zfill__doc__
},
{
"format"
,
(
PyCFunction
)
unicode
_format
,
METH_VARARGS
|
METH_KEYWORDS
,
format__doc__
},
{
"__format__"
,
(
PyCFunction
)
unicode__format__
,
METH_VARARGS
,
p_format__doc__
},
{
"format"
,
(
PyCFunction
)
do_string
_format
,
METH_VARARGS
|
METH_KEYWORDS
,
format__doc__
},
{
"__format__"
,
(
PyCFunction
)
unicode_
unicode_
_format__
,
METH_VARARGS
,
p_format__doc__
},
{
"_formatter_field_name_split"
,
(
PyCFunction
)
formatter_field_name_split
,
METH_NOARGS
},
{
"_formatter_parser"
,
(
PyCFunction
)
formatter_parser
,
METH_NOARGS
},
#if 0
...
...
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