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

Method __complex__

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

Source from the content-addressed store, hash-verified

249 return ~(self._get_current_object())
250
251 def __complex__(self):
252 return complex(self._get_current_object())
253
254 def __int__(self):
255 return int(self._get_current_object())

Callers 1

test_complex_castMethod · 0.95

Calls 1

_get_current_objectMethod · 0.95

Tested by 1

test_complex_castMethod · 0.76