File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -99,7 +99,7 @@ class Scalar(Generic[TScalar_co]):
9999 >>> s1 < s2
100100 Traceback (most recent call last):
101101 ...
102- TypeError: Comparing Scalar objects of numeric and string types is not permitted
102+ TypeError: Comparing Scalar objects of numeric and string types is not permitted.
103103
104104 Class members
105105 ^^^^^^^^^^^^^
@@ -277,4 +277,4 @@ def _check_units_equal_for_comparison(self, other_units: str) -> None:
277277 raise ValueError ("Comparing Scalar objects with different units is not permitted." )
278278
279279 def _comparing_numeric_and_string_not_permitted (self ) -> TypeError :
280- return TypeError ("Comparing Scalar objects of numeric and string types is not permitted" )
280+ return TypeError ("Comparing Scalar objects of numeric and string types is not permitted. " )
You can’t perform that action at this time.
0 commit comments