Skip to content

Commit

Permalink
Merge pull request #1791 from ksunden/finish_sentence
Browse files Browse the repository at this point in the history
Complete sentences about readonly objects in utils
  • Loading branch information
hgrecco committed Jun 26, 2023
2 parents d61f7fc + 915f7c2 commit a5acafa
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pint/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -440,6 +440,7 @@ class UnitsContainer(Mapping[str, Scalar]):
exponent and implements the corresponding operations.
UnitsContainer is a read-only mapping. All operations (even in place ones)
return new instances.
Parameters
----------
Expand Down Expand Up @@ -678,6 +679,7 @@ class ParserHelper(UnitsContainer):
Briefly is a UnitsContainer with a scaling factor.
ParserHelper is a read-only mapping. All operations (even in place ones)
return new instances.
WARNING : The hash value used does not take into account the scale
attribute so be careful if you use it as a dict key and then two unequal
Expand Down

0 comments on commit a5acafa

Please sign in to comment.