Explorar el Código

Improve docstring

Aleksandr Borzunov hace 4 años
padre
commit
411981e46e
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      hivemind/dht/__init__.py

+ 1 - 0
hivemind/dht/__init__.py

@@ -285,6 +285,7 @@ class DHT(mp.Process):
     async def replicate_p2p(self) -> P2P:
         """
         Get a replica of a P2P instance used in the DHT process internally.
+        The replica uses the same P2P daemon as the DHT and only works while DHT is alive.
         """
 
         if self._p2p_replica is None: