Commit 812e582
committed
Remove misleading parts of is_site_local() documentation
In case of IPv6Address and IPv6Network is_private is very much not an
equivalent or a replacement of is_site_local().
IPv6 is_private considers many ranges other than RFC 4193's fc00::/7 to
be private (see _IPv6Constants._private_networks for the complete list).
IPv6Address.is_private goes even further and delegates to
IPv4Address.is_private in case of an IPv4-mapped IPv6 address.1 parent f34e22c commit 812e582
2 files changed
Lines changed: 1 addition & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
320 | 320 | | |
321 | 321 | | |
322 | 322 | | |
323 | | - | |
324 | | - | |
325 | | - | |
| 323 | + | |
326 | 324 | | |
327 | 325 | | |
328 | 326 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2037 | 2037 | | |
2038 | 2038 | | |
2039 | 2039 | | |
2040 | | - | |
2041 | | - | |
2042 | 2040 | | |
2043 | 2041 | | |
2044 | 2042 | | |
| |||
2293 | 2291 | | |
2294 | 2292 | | |
2295 | 2293 | | |
2296 | | - | |
2297 | | - | |
2298 | 2294 | | |
2299 | 2295 | | |
2300 | 2296 | | |
| |||
0 commit comments