Skip to content

Commit

Permalink
Add comment about linking to get_converters_and unit with another nam…
Browse files Browse the repository at this point in the history
…e. [ci skip]
  • Loading branch information
mhvk committed Dec 21, 2017
1 parent 449cbd7 commit f379050
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion astropy/units/quantity_helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,8 @@ def get_converters_and_unit(f, unit1, unit2):
return converters, unit1


# Use function directly so to avoid a needless function call.
# This used to be a separate function that just called get_converters_and_unit.
# Using it directly saves a few us; keeping the clearer name.
helper_twoarg_invariant = get_converters_and_unit


Expand Down

0 comments on commit f379050

Please sign in to comment.