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
ab3b9eb4
Kaydet (Commit)
ab3b9eb4
authored
Nis 10, 2002
tarafından
Neal Norwitz
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Add deprecation warnings for modules as documented
üst
6e99704f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
0 deletions
+9
-0
statcache.py
Lib/statcache.py
+5
-0
xmllib.py
Lib/xmllib.py
+4
-0
No files found.
Lib/statcache.py
Dosyayı görüntüle @
ab3b9eb4
...
...
@@ -3,6 +3,11 @@
There are functions to reset the cache or to selectively remove items.
"""
import
warnings
warnings
.
warn
(
"The statcache module is obsolete. Use os.stat() instead."
,
DeprecationWarning
)
del
warnings
import
os
as
_os
from
stat
import
*
...
...
Lib/xmllib.py
Dosyayı görüntüle @
ab3b9eb4
...
...
@@ -5,6 +5,10 @@
import
re
import
string
import
warnings
warnings
.
warn
(
"The xmllib module is obsolete. Use xml.sax instead."
,
DeprecationWarning
)
del
warnings
version
=
'0.3'
...
...
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