added docs for python binding. Fixed warning in python binding.

This commit is contained in:
Arvid Norberg
2007-02-20 04:32:13 +00:00
parent 3fc73cb219
commit df46401c9c
9 changed files with 215 additions and 8 deletions

View File

@@ -65,7 +65,7 @@ int main(int argc, char* argv[])
in.unsetf(std::ios_base::skipws);
entry e = bdecode(std::istream_iterator<char>(in), std::istream_iterator<char>());
s.add_torrent(torrent_info(e), "./");
// wait for the user to end
char a;
std::cin.unsetf(std::ios_base::skipws);