Skip to content

Commit ddf2661

Browse files
committed
Pydoc style fixes
1 parent 06cd4cb commit ddf2661

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

reportportal_client/steps/__init__.py

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -84,10 +84,10 @@ def get_parent(self):
8484
def remove_parent(self, parent_id):
8585
"""Remove the last item in the parent queue.
8686
87-
Remove the last item in the parent queue if it's equal to the method's
88-
argument.
89-
:param parent_id: item ID to remove
90-
"""
87+
Remove the last item in the parent queue if it's equal to the method's
88+
argument.
89+
:param parent_id: item ID to remove
90+
"""
9191
if len(self.__levels) > 0 and self.__levels[-1] == parent_id:
9292
return self.__levels.pop()
9393

@@ -180,8 +180,10 @@ def __exit__(self, exc_type, exc_val, exc_tb):
180180
.finish_nested_step(self.__item_id, timestamp(), step_status)
181181

182182
def __call__(self, func):
183-
"""The method is called when the instance is "called" as a function."""
183+
"""Wrap and call a function reference.
184184
185+
:param func: function reference
186+
"""
185187
@wraps(func)
186188
def wrapper(*args, **kwargs):
187189
__tracebackhide__ = True

0 commit comments

Comments
 (0)