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
b8d661bd
Kaydet (Commit)
b8d661bd
authored
Şub 18, 2007
tarafından
Martin v. Löwis
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Revert r53672, just fix signature of time_isoformat instead.
üst
0c2552c0
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
3 deletions
+6
-3
NEWS
Misc/NEWS
+1
-1
datetimemodule.c
Modules/datetimemodule.c
+5
-2
No files found.
Misc/NEWS
Dosyayı görüntüle @
b8d661bd
...
...
@@ -111,7 +111,7 @@ Extension Modules
-
Patch
#
1657276
:
Make
NETLINK_DNRTMSG
conditional
.
-
Bug
#
1653736
:
Complain
about
keyword
arguments
to
time
.
isoformat
.
-
Bug
#
1653736
:
Fix
signature
of
time_
isoformat
.
-
operator
.
count
()
now
raises
an
OverflowError
when
the
count
reaches
sys
.
maxint
.
...
...
Modules/datetimemodule.c
Dosyayı görüntüle @
b8d661bd
...
...
@@ -3166,8 +3166,11 @@ time_str(PyDateTime_Time *self)
return
PyObject_CallMethod
((
PyObject
*
)
self
,
"isoformat"
,
"()"
);
}
/* Even though this silently ignores all arguments, it cannot
be fixed to reject them in release25-maint */
static
PyObject
*
time_isoformat
(
PyDateTime_Time
*
self
,
PyObject
*
unused
)
time_isoformat
(
PyDateTime_Time
*
self
,
PyObject
*
unused_args
,
PyObject
*
unused_keywords
)
{
char
buf
[
100
];
PyObject
*
result
;
...
...
@@ -3411,7 +3414,7 @@ time_reduce(PyDateTime_Time *self, PyObject *arg)
static
PyMethodDef
time_methods
[]
=
{
{
"isoformat"
,
(
PyCFunction
)
time_isoformat
,
METH_
NOARG
S
,
{
"isoformat"
,
(
PyCFunction
)
time_isoformat
,
METH_
KEYWORD
S
,
PyDoc_STR
(
"Return string in ISO 8601 format, HH:MM:SS[.mmmmmm]"
"[+HH:MM]."
)},
...
...
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