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

Method __float__

celery/local.py:257–258  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

255 return int(self._get_current_object())
256
257 def __float__(self):
258 return float(self._get_current_object())
259
260 def __oct__(self):
261 return oct(self._get_current_object())

Callers 1

test_intMethod · 0.95

Calls 1

_get_current_objectMethod · 0.95

Tested by 1

test_intMethod · 0.76