From 0a4195ae08f7fb1a7a215eb0e7542f9ad33ca80d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrien=20B=C3=A9raud?= <adrienberaud@gmail.com> Date: Fri, 20 Nov 2015 22:30:26 -0500 Subject: [PATCH] Update README.md --- README.md | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/README.md b/README.md index 1bb5a8ba..c77f4e9c 100644 --- a/README.md +++ b/README.md @@ -52,9 +52,6 @@ int main() return true; // return false to stop the search }); - // here we could wait for some operations to complete - // instead of ending now. - // wait for dht threads to end node.join(); return 0; @@ -73,7 +70,7 @@ r.bootstrap("bootstrap.ring.cx", "4222") r.put(dht.InfoHash.get("unique_key"), dht.Value(b'some binary data')) -# blocking call (provide a get_cb and an optional done_cb argument to make the call non-blocking) +# blocking call (provide callback arguments to make the call non-blocking) results = r.get(dht.InfoHash.get("unique_key")) for r in results: print(r) -- GitLab