Author: Armin Rigo <[email protected]>
Branch: stm-thread
Changeset: r55574:59144bc302c0
Date: 2012-06-11 13:39 +0200
http://bitbucket.org/pypy/pypy/changeset/59144bc302c0/
Log: Bah.
diff --git a/lib_pypy/transaction.py b/lib_pypy/transaction.py
--- a/lib_pypy/transaction.py
+++ b/lib_pypy/transaction.py
@@ -26,7 +26,7 @@
atomic = _Atomic()
-def set_num_threads(self, num):
+def set_num_threads(num):
"""Set the number of threads to use."""
if num < 1:
raise ValueError("'num' must be at least 1, got %r" % (num,))
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit