Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

minor format updates in docstrings

  • Loading branch information...
commit a91ea25c88880ecd657254437e5c3ceaf638f135 1 parent 785f80d
@timdiller authored
Showing with 1 addition and 3 deletions.
  1. +0 −2  scimath/units/convert.py
  2. +1 −1  scimath/units/has_units.py
View
2  scimath/units/convert.py
@@ -33,10 +33,8 @@ def convert(value, from_unit, to_unit):
----------
value : float
value to convert
-
from_unit : scimath.unit object
implied units of 'value'
-
to_unit : scimath.unit object
implied units of the returned float
View
2  scimath/units/has_units.py
@@ -114,7 +114,7 @@ def has_units(func=None, summary='', doc='', inputs=None, outputs=None):
If units are not assigned to a variable, absolutely no conversion is
applied to that variable.
- Example definition of a unitted addition function:
+ Example definition of a unitted addition function::
>>> from scimath.units.api import has_units, UnitArray
>>> @has_units
Please sign in to comment.
Something went wrong with that request. Please try again.