MCPcopy Create free account
hub / github.com/celery/celery / subscript

Function subscript

celery/bin/graph.py:104–107  ·  view source on GitHub ↗
(n)

Source from the content-addressed store, hash-verified

102 return self.draw_edge(a, b, self.edge_scheme, attrs)
103
104 def subscript(n):
105 S = {'0': '₀', '1': '₁', '2': '₂', '3': '₃', '4': '₄',
106 '5': '₅', '6': '₆', '7': '₇', '8': '₈', '9': '₉'}
107 return ''.join([S[i] for i in str(n)])
108
109 class Worker(Node):
110 pass

Callers 1

maybe_abbrFunction · 0.85

Calls 1

joinMethod · 0.45

Tested by

no test coverage detected