Skip to content

Commit b5a6e5d

Browse files
committed
[docs] fixed docstrings
1 parent c91b10e commit b5a6e5d

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

src/geocompy/communication.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ def open_serial(
156156
157157
Raises
158158
------
159-
ConnectionError
159+
ConnectionRefusedError
160160
Serial port could not be opened.
161161
162162
Warning
@@ -259,7 +259,7 @@ def open_socket(
259259
260260
Raises
261261
------
262-
ConnectionError
262+
ConnectionRefusedError
263263
Socket could not be opened.
264264
265265
Warning

src/geocompy/geo/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ def __init__(
157157
158158
Raises
159159
------
160-
ConnectionError
160+
ConnectionRefusedError
161161
If the connection could not be verified in the specified
162162
number of attempts.
163163
"""

src/geocompy/gsi/dna/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ def __init__(
129129
130130
Raises
131131
------
132-
ConnectionError
132+
ConnectionRefusedError
133133
If the connection could not be verified in the specified
134134
number of attempts.
135135
"""

0 commit comments

Comments
 (0)