Skip to content

Commit 8ddf5a4

Browse files
committed
Python 3.10: Update another collections.abc import
1 parent 8775f70 commit 8ddf5a4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

postgresql/copyman.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"""
1010
import sys
1111
from abc import abstractmethod, abstractproperty
12-
from collections import Iterator
12+
from collections.abc import Iterator
1313
from .python.element import Element, ElementSet
1414
from .python.structlib import ulong_unpack, ulong_pack
1515
from .protocol.buffer import pq_message_stream

postgresql/documentation/notifyman.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ receives notifications.
2020

2121
The `postgresql.notifyman.NotificationManager` class is used to wait for
2222
messages to come in on a set of connections, pick up the messages, and deliver
23-
the messages to the object's user via the `collections.Iterator` protocol.
23+
the messages to the object's user via the `collections.abc.Iterator` protocol.
2424

2525

2626
Listening on a Single Connection

0 commit comments

Comments
 (0)