From 1f317900f42b7224cc7010defa24a61bbab701a5 Mon Sep 17 00:00:00 2001 From: Arvid Norberg Date: Mon, 10 Mar 2008 06:30:34 +0000 Subject: [PATCH] updated python binding docs --- docs/python_binding.html | 4 ++-- docs/python_binding.rst | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/python_binding.html b/docs/python_binding.html index 974598ef9..0e89bc2c0 100644 --- a/docs/python_binding.html +++ b/docs/python_binding.html @@ -51,7 +51,7 @@ directory and invoke bjam< build variants, see libtorrent build options.

For example:

-$ bjam dht-support=on release link=static
+$ bjam dht-support=on boost=source release link=static
 

On Mac OS X, this will produce the following python module:

@@ -75,7 +75,7 @@ ses.listen_on(6881, 6891)
 e = lt.bdecode(open("test.torrent", 'rb').read())
 info = lt.torrent_info(e)
 
-h = ses.add_torrent(info, "./", compact_mode = True)
+h = ses.add_torrent(info, "./", storage_mode=storage_mode_sparse)
 
 while (not h.is_seed()):
         s = h.status()
diff --git a/docs/python_binding.rst b/docs/python_binding.rst
index ffd814abb..2dafca40d 100644
--- a/docs/python_binding.rst
+++ b/docs/python_binding.rst
@@ -43,7 +43,7 @@ build variants, see `libtorrent build options`_.
 
 For example::
 
-	$ bjam dht-support=on release link=static
+	$ bjam dht-support=on boost=source release link=static
 
 On Mac OS X, this will produce the following python module::
 
@@ -71,7 +71,7 @@ A very simple example usage of the module would be something like this::
 	e = lt.bdecode(open("test.torrent", 'rb').read())
 	info = lt.torrent_info(e)
 
-	h = ses.add_torrent(info, "./", compact_mode = True)
+	h = ses.add_torrent(info, "./", storage_mode=storage_mode_sparse)
 
 	while (not h.is_seed()):
 		s = h.status()