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
b4386d36
Kaydet (Commit)
b4386d36
authored
Haz 02, 2012
tarafından
Sandro Tosi
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Issue #14814: minor spelling fixes
üst
3a37b839
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
ipaddress.py
Lib/ipaddress.py
+4
-4
No files found.
Lib/ipaddress.py
Dosyayı görüntüle @
b4386d36
...
...
@@ -143,7 +143,7 @@ def v6_int_to_packed(address):
"""Represent an address as 16 packed bytes in network (big-endian) order.
Args:
address: An integer representation of an IPv
4
IP address.
address: An integer representation of an IPv
6
IP address.
Returns:
The integer address packed as 16 bytes in network (big-endian) order.
...
...
@@ -1181,7 +1181,7 @@ class IPv4Address(_BaseV4, _BaseAddress):
IPv4Address('192.0.2.1')
Raises:
AddressValueError: If ipaddressisn't a valid IPv4 address.
AddressValueError: If ipaddress
isn't a valid IPv4 address.
"""
_BaseAddress
.
__init__
(
self
,
address
)
...
...
@@ -1366,10 +1366,10 @@ class IPv4Network(_BaseV4, _BaseNetwork):
IPv4Interface('192.0.2.1')
Raises:
AddressValueError: If ipaddressisn't a valid IPv4 address.
AddressValueError: If ipaddress
isn't a valid IPv4 address.
NetmaskValueError: If the netmask isn't valid for
an IPv4 address.
ValueError: If strict
was True and a network address wa
s not
ValueError: If strict
is True and a network address i
s not
supplied.
"""
...
...
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