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
3a4231dd
Kaydet (Commit)
3a4231dd
authored
Ara 19, 2004
tarafından
Raymond Hettinger
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Bug #1087216: datetime module documentation missing critical detail
üst
94eaee6d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
3 deletions
+9
-3
datetimemodule.c
Modules/datetimemodule.c
+9
-3
No files found.
Modules/datetimemodule.c
Dosyayı görüntüle @
3a4231dd
...
@@ -2659,7 +2659,7 @@ static PyMethodDef date_methods[] = {
...
@@ -2659,7 +2659,7 @@ static PyMethodDef date_methods[] = {
};
};
static
char
date_doc
[]
=
static
char
date_doc
[]
=
PyDoc_STR
(
"
Basic date type.
"
);
PyDoc_STR
(
"
date(year, month, day) --> date object
"
);
static
PyNumberMethods
date_as_number
=
{
static
PyNumberMethods
date_as_number
=
{
date_add
,
/* nb_add */
date_add
,
/* nb_add */
...
@@ -3431,7 +3431,10 @@ static PyMethodDef time_methods[] = {
...
@@ -3431,7 +3431,10 @@ static PyMethodDef time_methods[] = {
};
};
static
char
time_doc
[]
=
static
char
time_doc
[]
=
PyDoc_STR
(
"Time type."
);
PyDoc_STR
(
"time([hour[, minute[, second[, microsecond[, tzinfo]]]]]) --> a time object
\n
\
\n
\
All arguments are optional. tzinfo may be None, or an instance of
\n
\
a tzinfo subclass. The remaining arguments may be ints or longs.
\n
"
);
static
PyNumberMethods
time_as_number
=
{
static
PyNumberMethods
time_as_number
=
{
0
,
/* nb_add */
0
,
/* nb_add */
...
@@ -4468,7 +4471,10 @@ static PyMethodDef datetime_methods[] = {
...
@@ -4468,7 +4471,10 @@ static PyMethodDef datetime_methods[] = {
};
};
static
char
datetime_doc
[]
=
static
char
datetime_doc
[]
=
PyDoc_STR
(
"date/time type."
);
PyDoc_STR
(
"datetime(year, month, day[, hour[, minute[, second[, microsecond[,tzinfo]]]]])
\n
\
\n
\
The year, month and day arguments are required. tzinfo may be None, or an
\n
\
instance of a tzinfo subclass. The remaining arguments may be ints or longs.
\n
"
);
static
PyNumberMethods
datetime_as_number
=
{
static
PyNumberMethods
datetime_as_number
=
{
datetime_add
,
/* nb_add */
datetime_add
,
/* nb_add */
...
...
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