summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2024-06-12 06:23:24 (GMT)
committerGitHub <noreply@github.com>2024-06-12 06:23:24 (GMT)
commit8f5ce42f3418dfcc37232390ba89c33b9c9ffb13 (patch)
tree527a7847828d91e9ee5789ef196d16d63b382a06 /Doc
parent7aafa305d40fe2aad2d2e2fad4079fb868dd2e7e (diff)
downloadcpython-8f5ce42f3418dfcc37232390ba89c33b9c9ffb13.zip
cpython-8f5ce42f3418dfcc37232390ba89c33b9c9ffb13.tar.gz
cpython-8f5ce42f3418dfcc37232390ba89c33b9c9ffb13.tar.bz2
[3.13] gh-120128: fix description of argument to ipaddress.collapse_addresses() (GH-120131) (#120135)
gh-120128: fix description of argument to ipaddress.collapse_addresses() (GH-120131) The argument to collapse_addresses() is now described as an *iterable* (rather than *iterator*). (cherry picked from commit f878d46e5614f08a9302fcb6fc611ef49e9acf2f) Co-authored-by: Jan Kaliszewski <zuo@kaliszewski.net>
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/ipaddress.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/ipaddress.rst b/Doc/library/ipaddress.rst
index d7dccf1..0441a7d 100644
--- a/Doc/library/ipaddress.rst
+++ b/Doc/library/ipaddress.rst
@@ -990,7 +990,7 @@ The module also provides the following module level functions:
.. function:: collapse_addresses(addresses)
Return an iterator of the collapsed :class:`IPv4Network` or
- :class:`IPv6Network` objects. *addresses* is an iterator of
+ :class:`IPv6Network` objects. *addresses* is an :term:`iterable` of
:class:`IPv4Network` or :class:`IPv6Network` objects. A :exc:`TypeError` is
raised if *addresses* contains mixed version objects.