[pypy-commit] pypy stm-thread: Bah.

arigo noreply at buildbot.pypy.org
Mon Jun 11 13:43:54 CEST 2012


Author: Armin Rigo <arigo at tunes.org>
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,))


More information about the pypy-commit mailing list