Message29852
See the following output. The reason for the confusing
message is that random.randint is actually a bound
method to a Random instance inside the module, i.e.
someone got a little bit too clever. It should be an
ordinary function that calls that instance method instead.
>>> import random
>>> random.randint(10000)
Traceback (most recent call last):
File "<stdin>", line 1, in ?
TypeError: randint() takes exactly 3 arguments (2 given)
|
|
Date |
User |
Action |
Args |
2007-08-23 14:42:42 | admin | link | issue1560032 messages |
2007-08-23 14:42:42 | admin | create | |
|