This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author phr
Recipients
Date 2006-09-17.06:22:07
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
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)

History
Date User Action Args
2007-08-23 14:42:42adminlinkissue1560032 messages
2007-08-23 14:42:42admincreate