Closed GoogleCodeExporter closed 9 years ago
thanks.
note, ipaddr.IPAddress(1) works, so the first part of the docstring is actually
correct. fixed in 165
Original comment by pmo...@google.com
on 10 May 2010 at 5:34
Ah, I was interpreting the "string/int" as meaning VLSM CIDR notation. Mainly
because that's what the
documentation for IPNetwork reads like, and it seemed like a copy and paste.
In that case I'd suggest making this change;
IPAddress; "Take an IP [string|int] and return ..."
IPNetwork: "Take an IP [string|int]/int and return ... "
it's confusing to have / as both a separator and an OR operator. Anyway, it's
not a big deal - but I did find it a
bit confusing when I first went to use the library.
Original comment by colmm...@gmail.com
on 12 May 2010 at 4:32
Original issue reported on code.google.com by
colmm...@gmail.com
on 2 May 2010 at 4:37