MCPcopy Index your code
hub / github.com/numpy/numpy / _str_term_unicode

Method _str_term_unicode

numpy/polynomial/polynomial.py:1661–1665  ·  view source on GitHub ↗
(cls, i, arg_str)

Source from the content-addressed store, hash-verified

1659
1660 @classmethod
1661 def _str_term_unicode(cls, i, arg_str):
1662 if i == '1':
1663 return f"·{arg_str}"
1664 else:
1665 return f"·{arg_str}{i.translate(cls._superscript_mapping)}"
1666
1667 @staticmethod
1668 def _str_term_ascii(i, arg_str):

Callers

nothing calls this directly

Calls 1

translateMethod · 0.80

Tested by

no test coverage detected