Skip to content

Commit c7d83b1

Browse files
committed
Revert type specifications for 3.9 compatibility
1 parent 32b7418 commit c7d83b1

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

remote/pymodbus_fixes.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@
5353

5454
from contextlib import suppress
5555
from dataclasses import dataclass
56+
from typing import Union, Type
5657

5758
try:
5859
from SocketServer import _eintr_retry
@@ -93,7 +94,7 @@ class modbus_communication_monitor( object ):
9394
def __init__(
9495
self,
9596
*args,
96-
framer: FramerType | type[FramerBase],
97+
framer,
9798
**kwds ):
9899
"""Allow custom framer classes by instantiating with a FramerType Enum value, and
99100
substituting the supplied Framer class after instantiation. The framer may be an int or str

version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
__version_info__ = ( 5, 2, 0 )
1+
__version_info__ = ( 5, 2, 1 )
22
__version__ = '.'.join( map( str, __version_info__ ))

0 commit comments

Comments
 (0)