Skip to content

Commit b30fc9a

Browse files
committed
Fixed a linting problem I don't fully understand - I was not able to penetrate the arcane error message.
Signed-off-by: Kosta Ilic <[email protected]>
1 parent ef1b133 commit b30fc9a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/nitypes/scalar.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ class Scalar(Generic[TScalar_co]):
6464
results in inequality.
6565
- Comparison of scalar objects with different units results in inequality.
6666
67-
Examples:
67+
Here are a few examples:
6868
6969
>>> Scalar(5.0, 'V') == Scalar(5.0, 'V') # Numeric scalars with identical values and units
7070
True
@@ -93,7 +93,7 @@ class Scalar(Generic[TScalar_co]):
9393
- Comparison of scalar objects with compatible types and different units
9494
is not permitted and will raise a ``ValueError`` exception.
9595
96-
Examples:
96+
Here are a few examples:
9797
9898
>>> Scalar(5.0, 'V') < Scalar(10.0, 'V') # Numeric scalars with identical units
9999
True

0 commit comments

Comments
 (0)