added default arguments to remove_torrent in the python binding

This commit is contained in:
Arvid Norberg 2008-03-10 07:31:56 +00:00
parent 1f317900f4
commit 7ea28d9982
1 changed files with 2 additions and 1 deletions

View File

@ -209,7 +209,8 @@ void bind_session()
)
, session_add_torrent_doc
)
.def("remove_torrent", allow_threads(&session::remove_torrent), session_remove_torrent_doc)
.def("remove_torrent", allow_threads(&session::remove_torrent), arg("option") = session::none
, session_remove_torrent_doc)
.def(
"set_download_rate_limit", allow_threads(&session::set_download_rate_limit)
, session_set_download_rate_limit_doc