Skip to content

Commit

Permalink
docs
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewgsavage committed Feb 2, 2024
1 parent c2ca8f8 commit 245d1e8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/user/nonmult.rst
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ For example, to convert from celsius to fahrenheit:
.. doctest::

>>> import pint
>>> ureg = pint.get_application_registry()
>>> ureg = pint.UnitRegistry()
>>> pint.set_application_registry(ureg)
>>> ureg.default_format = '.3f'
>>> Q_ = ureg.Quantity
>>> home = Q_(25.4, ureg.degC)
Expand Down

0 comments on commit 245d1e8

Please sign in to comment.