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
35b84b41
Kaydet (Commit)
35b84b41
authored
Ara 24, 2007
tarafından
Brett Cannon
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Backport of fix for issue 1695.
üst
4f1cbd27
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
NEWS
Misc/NEWS
+2
-0
timemodule.c
Modules/timemodule.c
+2
-2
No files found.
Misc/NEWS
Dosyayı görüntüle @
35b84b41
...
...
@@ -51,6 +51,8 @@ Core and builtins
Library
-------
- Issue #1695: Fixed typo in the docstrings for time.localtime() and gmtime().
- Issue #1642: Fix segfault in ctypes when trying to delete attributes.
- os.access now returns True on Windows for any existing directory.
...
...
Modules/timemodule.c
Dosyayı görüntüle @
35b84b41
...
...
@@ -317,7 +317,7 @@ time_gmtime(PyObject *self, PyObject *args)
}
PyDoc_STRVAR
(
gmtime_doc
,
"gmtime([seconds]) -> (tm_year, tm_mon, tm_day, tm_hour, tm_min,
\n
\
"gmtime([seconds]) -> (tm_year, tm_mon, tm_
m
day, tm_hour, tm_min,
\n
\
tm_sec, tm_wday, tm_yday, tm_isdst)
\n
\
\n
\
Convert seconds since the Epoch to a time tuple expressing UTC (a.k.a.
\n
\
...
...
@@ -333,7 +333,7 @@ time_localtime(PyObject *self, PyObject *args)
}
PyDoc_STRVAR
(
localtime_doc
,
"localtime([seconds]) -> (tm_year,tm_mon,tm_day,tm_hour,tm_min,tm_sec,tm_wday,tm_yday,tm_isdst)
\n
\
"localtime([seconds]) -> (tm_year,tm_mon,tm_
m
day,tm_hour,tm_min,tm_sec,tm_wday,tm_yday,tm_isdst)
\n
\
\n
\
Convert seconds since the Epoch to a time tuple expressing local time.
\n
\
When 'seconds' is not passed in, convert the current time instead."
);
...
...
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