Beispiel #1
0
 def list_equivalencies(self):
     """
     Lists the possible equivalencies associated with this unit object
     """
     for k, v in equivalence_registry.items():
         if self.has_equivalent(k):
             print(v())
Beispiel #2
0
 def list_equivalencies(self):
     """
     Lists the possible equivalencies associated with this YTArray or
     YTQuantity.
     """
     for k, v in equivalence_registry.items():
         if self.has_equivalent(k):
             print(v())
 def list_equivalencies(self):
     """
     Lists the possible equivalencies associated with this YTArray or
     YTQuantity.
     """
     for k, v in equivalence_registry.items():
         if self.has_equivalent(k):
             print(v())