Docstrings arguments cleanup (#3229)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
This commit is contained in:
Glenn Jocher 2023-06-17 16:17:07 +02:00 committed by GitHub
parent 62916b3b0a
commit bd0f7ecf6f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
93 changed files with 1104 additions and 1102 deletions

View file

@ -102,7 +102,7 @@ class Bboxes:
def mul(self, scale):
"""
Args:
scale (tuple) or (list) or (int): the scale for four coords.
scale (tuple | list | int): the scale for four coords.
"""
if isinstance(scale, Number):
scale = to_4tuple(scale)
@ -116,7 +116,7 @@ class Bboxes:
def add(self, offset):
"""
Args:
offset (tuple) or (list) or (int): the offset for four coords.
offset (tuple | list | int): the offset for four coords.
"""
if isinstance(offset, Number):
offset = to_4tuple(offset)