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
c4b78a3e
Kaydet (Commit)
c4b78a3e
authored
Haz 01, 2012
tarafından
Hynek Schlawack
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
#14814: Remove 2.x's new-style classes syntax from ipaddress
üst
67ee1d05
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
ipaddress.py
Lib/ipaddress.py
+3
-3
No files found.
Lib/ipaddress.py
Dosyayı görüntüle @
c4b78a3e
...
...
@@ -400,7 +400,7 @@ def get_mixed_type_key(obj):
return
NotImplemented
class
_IPAddressBase
(
object
)
:
class
_IPAddressBase
:
"""The mother class."""
...
...
@@ -975,7 +975,7 @@ class _BaseNetwork(_IPAddressBase):
return
t
.
__class__
(
'
%
s/
%
d'
%
(
str
(
t
.
network_address
),
t
.
prefixlen
))
class
_BaseV4
(
object
)
:
class
_BaseV4
:
"""Base IPv4 object.
...
...
@@ -1511,7 +1511,7 @@ class IPv4Network(_BaseV4, _BaseNetwork):
return
'
%
s/
%
s'
%
(
str
(
self
.
network_address
),
str
(
self
.
hostmask
))
class
_BaseV6
(
object
)
:
class
_BaseV6
:
"""Base IPv6 object.
...
...
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