Skip to content

Commit

Permalink
add note on symbols to currency docs
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewgsavage committed Jun 22, 2024
1 parent 9eefa47 commit 3297ab1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/advanced/currencies.rst
Original file line number Diff line number Diff line change
Expand Up @@ -96,4 +96,4 @@ Many common currency symbols are not supported by the pint parser. A preprocesso
>>> ureg = pint.UnitRegistry(preprocessors = [lambda s: s.replace("", "EUR")])
>>> ureg.define("euro = [currency] = € = EUR")
>>> print(ureg.Quantity("1 €"))
1 EUR
1 euro

0 comments on commit 3297ab1

Please sign in to comment.