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
7252a6e8
Kaydet (Commit)
7252a6e8
authored
Tem 27, 2014
tarafından
Martin v. Löwis
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Issue #20179: Apply Argument Clinic to bytes and bytearray.
Patch by Tal Einat.
üst
e1b82531
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
7 additions
and
6 deletions
+7
-6
bytes_methods.h
Include/bytes_methods.h
+2
-2
NEWS
Misc/NEWS
+3
-0
bytearrayobject.c
Objects/bytearrayobject.c
+0
-0
bytes_methods.c
Objects/bytes_methods.c
+2
-4
bytesobject.c
Objects/bytesobject.c
+0
-0
No files found.
Include/bytes_methods.h
Dosyayı görüntüle @
7252a6e8
...
...
@@ -21,8 +21,8 @@ extern void _Py_bytes_title(char *result, char *s, Py_ssize_t len);
extern
void
_Py_bytes_capitalize
(
char
*
result
,
char
*
s
,
Py_ssize_t
len
);
extern
void
_Py_bytes_swapcase
(
char
*
result
,
char
*
s
,
Py_ssize_t
len
);
/* Th
is one gets the raw argument list
. */
extern
PyObject
*
_Py_bytes_maketrans
(
PyObject
*
args
);
/* Th
e maketrans() static method
. */
extern
PyObject
*
_Py_bytes_maketrans
(
PyObject
*
frm
,
PyObject
*
to
);
/* Shared __doc__ strings. */
extern
const
char
_Py_isspace__doc__
[];
...
...
Misc/NEWS
Dosyayı görüntüle @
7252a6e8
...
...
@@ -10,6 +10,9 @@ Release date: TBA
Core and Builtins
-----------------
- Issue #20179: Apply Argument Clinic to bytes and bytearray.
Patch by Tal Einat.
- Issue #22082: Clear interned strings in slotdefs.
- Upgrade Unicode database to Unicode 7.0.0.
...
...
Objects/bytearrayobject.c
Dosyayı görüntüle @
7252a6e8
This diff is collapsed.
Click to expand it.
Objects/bytes_methods.c
Dosyayı görüntüle @
7252a6e8
...
...
@@ -382,9 +382,9 @@ _getbuffer(PyObject *obj, Py_buffer *view)
}
PyObject
*
_Py_bytes_maketrans
(
PyObject
*
args
)
_Py_bytes_maketrans
(
PyObject
*
frm
,
PyObject
*
to
)
{
PyObject
*
frm
,
*
to
,
*
res
=
NULL
;
PyObject
*
res
=
NULL
;
Py_buffer
bfrm
,
bto
;
Py_ssize_t
i
;
char
*
p
;
...
...
@@ -392,8 +392,6 @@ _Py_bytes_maketrans(PyObject *args)
bfrm
.
len
=
-
1
;
bto
.
len
=
-
1
;
if
(
!
PyArg_ParseTuple
(
args
,
"OO:maketrans"
,
&
frm
,
&
to
))
return
NULL
;
if
(
_getbuffer
(
frm
,
&
bfrm
)
<
0
)
return
NULL
;
if
(
_getbuffer
(
to
,
&
bto
)
<
0
)
...
...
Objects/bytesobject.c
Dosyayı görüntüle @
7252a6e8
This diff is collapsed.
Click to expand it.
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