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
4ee82822
Kaydet (Commit)
4ee82822
authored
May 26, 2009
tarafından
Georg Brandl
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
#6112: list.remove raises ValueError, not RuntimeError.
üst
57bef68b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
sched.rst
Doc/library/sched.rst
+1
-1
sched.py
Lib/sched.py
+1
-1
No files found.
Doc/library/sched.rst
Dosyayı görüntüle @
4ee82822
...
...
@@ -100,7 +100,7 @@ Scheduler Objects
.. method:: scheduler.cancel(event)
Remove the event from the queue. If *event* is not an event currently in the
queue, this method will raise a :exc:`
Runtim
eError`.
queue, this method will raise a :exc:`
Valu
eError`.
.. method:: scheduler.empty()
...
...
Lib/sched.py
Dosyayı görüntüle @
4ee82822
...
...
@@ -67,7 +67,7 @@ class scheduler:
"""Remove an event from the queue.
This must be presented the ID as returned by enter().
If the event is not in the queue, this raises
Runtim
eError.
If the event is not in the queue, this raises
Valu
eError.
"""
self
.
_queue
.
remove
(
event
)
...
...
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