Skip to content

Commit 5a1ac15

Browse files
committed
updating docstrings based on comments in PR
1 parent 3f3a997 commit 5a1ac15

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

screenpy_selenium/actions/hold_down.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ class HoldDown:
4444
@classmethod
4545
def command_or_control_key(cls: Type[SelfHoldDown]) -> SelfHoldDown:
4646
"""
47-
A convenience method.
47+
A convenience method for supporting multiple operating systems.
4848
4949
Figures out what operating system the Actor is using and directs the Actor
5050
which execution key to hold down.

screenpy_selenium/actions/release.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ class Release:
4141
@classmethod
4242
def command_or_control_key(cls: Type[SelfRelease]) -> SelfRelease:
4343
"""
44-
A convenience method.
44+
A convenience method for supporting multiple operating systems.
4545
4646
Figures out what operating system the Actor is using and tells the Actor which
4747
execution key to release.

screenpy_selenium/target.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,11 +127,11 @@ def __repr__(self: SelfTarget) -> str:
127127
__str__ = __repr__
128128

129129
def __iter__(self: SelfTarget) -> Iterator[str]:
130-
"""Interator."""
130+
"""Allow Targets to be treated as ``(By, str)`` tuples."""
131131
return self.get_locator().__iter__()
132132

133133
def __getitem__(self: SelfTarget, index: int) -> str:
134-
"""Allow slicing of target name directly."""
134+
"""Allow Targets to be treated as ``(By, str)`` tuples."""
135135
return self.get_locator()[index]
136136

137137
def __init__(

0 commit comments

Comments
 (0)