Skip to content

Commit 4b631b0

Browse files
committed
More Python 3.6 fixes
1 parent 5618253 commit 4b631b0

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

devioc/models.py

+5-3
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
from collections.abc import Iterable
99
from enum import EnumMeta
1010
from pathlib import Path
11-
from typing import Tuple, Union
11+
from typing import Tuple, Union, Dict
1212

1313
import gepics
1414

@@ -435,8 +435,10 @@ def run_softioc(args, stdin_id, stdout_id):
435435
"""
436436
Launch EPICS ioc binary
437437
438+
438439
:param args:
439-
:param stdin_id:
440+
:param stdin_id: Standard input file descriptor
441+
:param stdout_id: Standard output file descriptor
440442
:return:
441443
"""
442444

@@ -473,7 +475,7 @@ def do_<record_name>(self, pv, value, ioc):
473475
model on which the record resides.
474476
"""
475477

476-
_fields: dict[str, Record]
478+
_fields: Dict[str, Record]
477479

478480
def __init__(self, device_name, callbacks=None, command='softIoc', macros=None):
479481
self.device_name = device_name

0 commit comments

Comments
 (0)