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
e51ee8a5
Kaydet (Commit)
e51ee8a5
authored
Tem 05, 2010
tarafından
Senthil Kumaran
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Fix the docstrings of the capitalize method.
üst
fa897986
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
bytes_methods.c
Objects/bytes_methods.c
+2
-1
unicodeobject.c
Objects/unicodeobject.c
+1
-1
No files found.
Objects/bytes_methods.c
Dosyayı görüntüle @
e51ee8a5
...
@@ -332,7 +332,8 @@ _Py_bytes_title(char *result, char *s, Py_ssize_t len)
...
@@ -332,7 +332,8 @@ _Py_bytes_title(char *result, char *s, Py_ssize_t len)
PyDoc_STRVAR_shared
(
_Py_capitalize__doc__
,
PyDoc_STRVAR_shared
(
_Py_capitalize__doc__
,
"B.capitalize() -> copy of B
\n
\
"B.capitalize() -> copy of B
\n
\
\n
\
\n
\
Return a copy of B with only its first character capitalized (ASCII)."
);
Return a copy of B with only its first character capitalized (ASCII)
\n
\
and the rest lower-cased."
);
void
void
_Py_bytes_capitalize
(
char
*
result
,
char
*
s
,
Py_ssize_t
len
)
_Py_bytes_capitalize
(
char
*
result
,
char
*
s
,
Py_ssize_t
len
)
...
...
Objects/unicodeobject.c
Dosyayı görüntüle @
e51ee8a5
...
@@ -6705,7 +6705,7 @@ PyDoc_STRVAR(capitalize__doc__,
...
@@ -6705,7 +6705,7 @@ PyDoc_STRVAR(capitalize__doc__,
"S.capitalize() -> str
\n
\
"S.capitalize() -> str
\n
\
\n
\
\n
\
Return a capitalized version of S, i.e. make the first character
\n
\
Return a capitalized version of S, i.e. make the first character
\n
\
have upper case."
);
have upper case
and the rest lower case
."
);
static
PyObject
*
static
PyObject
*
unicode_capitalize
(
PyUnicodeObject
*
self
)
unicode_capitalize
(
PyUnicodeObject
*
self
)
...
...
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