소스 검색

Improve docstring

Aleksandr Borzunov 4 년 전
부모
커밋
411981e46e
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  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: