Skip to content

Commit ca980c0

Browse files
Move implementation detail from docstring to comment
Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
1 parent f8d031f commit ca980c0

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

tests/scripts/generate_bignum_tests.py

+3-5
Original file line numberDiff line numberDiff line change
@@ -74,11 +74,9 @@ def quote_str(val) -> str:
7474
return "\"{}\"".format(val)
7575

7676
def combination_pairs(values: List[T]) -> List[Tuple[T, T]]:
77-
"""Return all pair combinations from input values.
78-
79-
The return value is cast, as older versions of mypy are unable to derive
80-
the specific type returned by itertools.combinations_with_replacement.
81-
"""
77+
"""Return all pair combinations from input values."""
78+
# The return value is cast, as older versions of mypy are unable to derive
79+
# the specific type returned by itertools.combinations_with_replacement.
8280
return typing.cast(
8381
List[Tuple[T, T]],
8482
list(itertools.combinations_with_replacement(values, 2))

0 commit comments

Comments
 (0)