MCPcopy Index your code
hub / github.com/RustPython/RustPython / _number_of_objects

Method _number_of_objects

Lib/multiprocessing/managers.py:635–643  ·  view source on GitHub ↗

Return the number of shared objects

(self)

Source from the content-addressed store, hash-verified

633 conn.close()
634
635 def _number_of_objects(self):
636 '''
637 Return the number of shared objects
638 '''
639 conn = self._Client(self._address, authkey=self._authkey)
640 try:
641 return dispatch(conn, None, 'number_of_objects')
642 finally:
643 conn.close()
644
645 def __enter__(self):
646 if self._state.value == State.INITIAL:

Callers 1

tearDownClassMethod · 0.80

Calls 2

dispatchFunction · 0.70
closeMethod · 0.45

Tested by 1

tearDownClassMethod · 0.64