Skip to content

Commit 08b0047

Browse files
committed
fix docstrings; replace old OMCPathDummy by OM*Path* to indicate it will work for any of these classe
1 parent 684d32c commit 08b0047

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

OMPython/OMCSession.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -551,7 +551,7 @@ class _OMPathRunnerLocal(OMPathRunnerABC):
551551

552552
This class is based on OMPathABC and, therefore, on pathlib.PurePosixPath. This is working well, but it is not
553553
the correct implementation on Windows systems. To get a valid Windows representation of the path, use the
554-
conversion via pathlib.Path(<OMCPathDummy>.as_posix()).
554+
conversion via pathlib.Path(<OM*Path*>.as_posix()).
555555
"""
556556

557557
def is_file(self) -> bool:
@@ -634,7 +634,7 @@ class _OMPathRunnerBash(OMPathRunnerABC):
634634

635635
This class is based on OMPathABC and, therefore, on pathlib.PurePosixPath. This is working well, but it is not
636636
the correct implementation on Windows systems. To get a valid Windows representation of the path, use the
637-
conversion via pathlib.Path(<OMCPathDummy>.as_posix()).
637+
conversion via pathlib.Path(<OM*Path*>.as_posix()).
638638
"""
639639

640640
def is_file(self) -> bool:

0 commit comments

Comments
 (0)