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
00245cfb
Kaydet (Commit)
00245cfb
authored
May 03, 1999
tarafından
Guido van Rossum
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
No need to import gmtime, ctime, asctime.
Make error an alias for ValueError. (Andrew Dalke & kjpylint)
üst
92b44517
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
calendar.py
Lib/calendar.py
+2
-2
No files found.
Lib/calendar.py
Dosyayı görüntüle @
00245cfb
...
@@ -5,10 +5,10 @@
...
@@ -5,10 +5,10 @@
# Revision 2: uses funtions from built-in time module
# Revision 2: uses funtions from built-in time module
# Import functions and variables from time module
# Import functions and variables from time module
from
time
import
gmtime
,
localtime
,
mktime
,
asctime
,
c
time
from
time
import
localtime
,
mk
time
# Exception raised for bad input (with string parameter for details)
# Exception raised for bad input (with string parameter for details)
error
=
'calendar.error'
error
=
ValueError
# Note when comparing these calendars to the ones printed by cal(1):
# Note when comparing these calendars to the ones printed by cal(1):
# My calendars have Monday as the first day of the week, and Sunday as
# My calendars have Monday as the first day of the week, and Sunday as
...
...
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